| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253 |
- // coverage:ignore-file
- // GENERATED CODE - DO NOT MODIFY BY HAND
- // ignore_for_file: type=lint
- // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
- part of 'smart_geo.dart';
- // **************************************************************************
- // FreezedGenerator
- // **************************************************************************
- T _$identity<T>(T value) => value;
- final _privateConstructorUsedError = UnsupportedError(
- 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models',
- );
- SmartGeo _$SmartGeoFromJson(Map<String, dynamic> json) {
- return _SmartGeo.fromJson(json);
- }
- /// @nodoc
- mixin _$SmartGeo {
- String? get geoSiteUrl => throw _privateConstructorUsedError;
- String? get geoSiteMd5 => throw _privateConstructorUsedError;
- String? get geoIpUrl => throw _privateConstructorUsedError;
- String? get geoIpMd5 => throw _privateConstructorUsedError;
- /// Serializes this SmartGeo to a JSON map.
- Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
- /// Create a copy of SmartGeo
- /// with the given fields replaced by the non-null parameter values.
- @JsonKey(includeFromJson: false, includeToJson: false)
- $SmartGeoCopyWith<SmartGeo> get copyWith =>
- throw _privateConstructorUsedError;
- }
- /// @nodoc
- abstract class $SmartGeoCopyWith<$Res> {
- factory $SmartGeoCopyWith(SmartGeo value, $Res Function(SmartGeo) then) =
- _$SmartGeoCopyWithImpl<$Res, SmartGeo>;
- @useResult
- $Res call({
- String? geoSiteUrl,
- String? geoSiteMd5,
- String? geoIpUrl,
- String? geoIpMd5,
- });
- }
- /// @nodoc
- class _$SmartGeoCopyWithImpl<$Res, $Val extends SmartGeo>
- implements $SmartGeoCopyWith<$Res> {
- _$SmartGeoCopyWithImpl(this._value, this._then);
- // ignore: unused_field
- final $Val _value;
- // ignore: unused_field
- final $Res Function($Val) _then;
- /// Create a copy of SmartGeo
- /// with the given fields replaced by the non-null parameter values.
- @pragma('vm:prefer-inline')
- @override
- $Res call({
- Object? geoSiteUrl = freezed,
- Object? geoSiteMd5 = freezed,
- Object? geoIpUrl = freezed,
- Object? geoIpMd5 = freezed,
- }) {
- return _then(
- _value.copyWith(
- geoSiteUrl: freezed == geoSiteUrl
- ? _value.geoSiteUrl
- : geoSiteUrl // ignore: cast_nullable_to_non_nullable
- as String?,
- geoSiteMd5: freezed == geoSiteMd5
- ? _value.geoSiteMd5
- : geoSiteMd5 // ignore: cast_nullable_to_non_nullable
- as String?,
- geoIpUrl: freezed == geoIpUrl
- ? _value.geoIpUrl
- : geoIpUrl // ignore: cast_nullable_to_non_nullable
- as String?,
- geoIpMd5: freezed == geoIpMd5
- ? _value.geoIpMd5
- : geoIpMd5 // ignore: cast_nullable_to_non_nullable
- as String?,
- )
- as $Val,
- );
- }
- }
- /// @nodoc
- abstract class _$$SmartGeoImplCopyWith<$Res>
- implements $SmartGeoCopyWith<$Res> {
- factory _$$SmartGeoImplCopyWith(
- _$SmartGeoImpl value,
- $Res Function(_$SmartGeoImpl) then,
- ) = __$$SmartGeoImplCopyWithImpl<$Res>;
- @override
- @useResult
- $Res call({
- String? geoSiteUrl,
- String? geoSiteMd5,
- String? geoIpUrl,
- String? geoIpMd5,
- });
- }
- /// @nodoc
- class __$$SmartGeoImplCopyWithImpl<$Res>
- extends _$SmartGeoCopyWithImpl<$Res, _$SmartGeoImpl>
- implements _$$SmartGeoImplCopyWith<$Res> {
- __$$SmartGeoImplCopyWithImpl(
- _$SmartGeoImpl _value,
- $Res Function(_$SmartGeoImpl) _then,
- ) : super(_value, _then);
- /// Create a copy of SmartGeo
- /// with the given fields replaced by the non-null parameter values.
- @pragma('vm:prefer-inline')
- @override
- $Res call({
- Object? geoSiteUrl = freezed,
- Object? geoSiteMd5 = freezed,
- Object? geoIpUrl = freezed,
- Object? geoIpMd5 = freezed,
- }) {
- return _then(
- _$SmartGeoImpl(
- geoSiteUrl: freezed == geoSiteUrl
- ? _value.geoSiteUrl
- : geoSiteUrl // ignore: cast_nullable_to_non_nullable
- as String?,
- geoSiteMd5: freezed == geoSiteMd5
- ? _value.geoSiteMd5
- : geoSiteMd5 // ignore: cast_nullable_to_non_nullable
- as String?,
- geoIpUrl: freezed == geoIpUrl
- ? _value.geoIpUrl
- : geoIpUrl // ignore: cast_nullable_to_non_nullable
- as String?,
- geoIpMd5: freezed == geoIpMd5
- ? _value.geoIpMd5
- : geoIpMd5 // ignore: cast_nullable_to_non_nullable
- as String?,
- ),
- );
- }
- }
- /// @nodoc
- @JsonSerializable()
- class _$SmartGeoImpl with DiagnosticableTreeMixin implements _SmartGeo {
- const _$SmartGeoImpl({
- this.geoSiteUrl,
- this.geoSiteMd5,
- this.geoIpUrl,
- this.geoIpMd5,
- });
- factory _$SmartGeoImpl.fromJson(Map<String, dynamic> json) =>
- _$$SmartGeoImplFromJson(json);
- @override
- final String? geoSiteUrl;
- @override
- final String? geoSiteMd5;
- @override
- final String? geoIpUrl;
- @override
- final String? geoIpMd5;
- @override
- String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
- return 'SmartGeo(geoSiteUrl: $geoSiteUrl, geoSiteMd5: $geoSiteMd5, geoIpUrl: $geoIpUrl, geoIpMd5: $geoIpMd5)';
- }
- @override
- void debugFillProperties(DiagnosticPropertiesBuilder properties) {
- super.debugFillProperties(properties);
- properties
- ..add(DiagnosticsProperty('type', 'SmartGeo'))
- ..add(DiagnosticsProperty('geoSiteUrl', geoSiteUrl))
- ..add(DiagnosticsProperty('geoSiteMd5', geoSiteMd5))
- ..add(DiagnosticsProperty('geoIpUrl', geoIpUrl))
- ..add(DiagnosticsProperty('geoIpMd5', geoIpMd5));
- }
- @override
- bool operator ==(Object other) {
- return identical(this, other) ||
- (other.runtimeType == runtimeType &&
- other is _$SmartGeoImpl &&
- (identical(other.geoSiteUrl, geoSiteUrl) ||
- other.geoSiteUrl == geoSiteUrl) &&
- (identical(other.geoSiteMd5, geoSiteMd5) ||
- other.geoSiteMd5 == geoSiteMd5) &&
- (identical(other.geoIpUrl, geoIpUrl) ||
- other.geoIpUrl == geoIpUrl) &&
- (identical(other.geoIpMd5, geoIpMd5) ||
- other.geoIpMd5 == geoIpMd5));
- }
- @JsonKey(includeFromJson: false, includeToJson: false)
- @override
- int get hashCode =>
- Object.hash(runtimeType, geoSiteUrl, geoSiteMd5, geoIpUrl, geoIpMd5);
- /// Create a copy of SmartGeo
- /// with the given fields replaced by the non-null parameter values.
- @JsonKey(includeFromJson: false, includeToJson: false)
- @override
- @pragma('vm:prefer-inline')
- _$$SmartGeoImplCopyWith<_$SmartGeoImpl> get copyWith =>
- __$$SmartGeoImplCopyWithImpl<_$SmartGeoImpl>(this, _$identity);
- @override
- Map<String, dynamic> toJson() {
- return _$$SmartGeoImplToJson(this);
- }
- }
- abstract class _SmartGeo implements SmartGeo {
- const factory _SmartGeo({
- final String? geoSiteUrl,
- final String? geoSiteMd5,
- final String? geoIpUrl,
- final String? geoIpMd5,
- }) = _$SmartGeoImpl;
- factory _SmartGeo.fromJson(Map<String, dynamic> json) =
- _$SmartGeoImpl.fromJson;
- @override
- String? get geoSiteUrl;
- @override
- String? get geoSiteMd5;
- @override
- String? get geoIpUrl;
- @override
- String? get geoIpMd5;
- /// Create a copy of SmartGeo
- /// with the given fields replaced by the non-null parameter values.
- @override
- @JsonKey(includeFromJson: false, includeToJson: false)
- _$$SmartGeoImplCopyWith<_$SmartGeoImpl> get copyWith =>
- throw _privateConstructorUsedError;
- }
|