smart_geo.dart 441 B

1234567891011121314151617
  1. import 'package:freezed_annotation/freezed_annotation.dart';
  2. import 'package:flutter/foundation.dart';
  3. part 'smart_geo.freezed.dart';
  4. part 'smart_geo.g.dart';
  5. @freezed
  6. abstract class SmartGeo with _$SmartGeo {
  7. const factory SmartGeo({
  8. String? geoSiteUrl,
  9. String? geoSiteMd5,
  10. String? geoIpUrl,
  11. String? geoIpMd5,
  12. }) = _SmartGeo;
  13. factory SmartGeo.fromJson(Map<String, Object?> json) =>
  14. _$SmartGeoFromJson(json);
  15. }