// 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 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 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 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 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 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 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 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; }