| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725 |
- // 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 'vpn_config.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',
- );
- VpnConfig _$VpnConfigFromJson(Map<String, dynamic> json) {
- return _VpnConfig.fromJson(json);
- }
- /// @nodoc
- mixin _$VpnConfig {
- List<String>? get cdnRouters => throw _privateConstructorUsedError;
- int? get autoDisconnectMinutes => throw _privateConstructorUsedError;
- ConnectArgs? get connectArgs => throw _privateConstructorUsedError;
- String? get defaultDnsServers => throw _privateConstructorUsedError;
- String? get forceSkipDomain => throw _privateConstructorUsedError;
- List<String>? get routers => throw _privateConstructorUsedError;
- SkipIps? get skipIps => throw _privateConstructorUsedError;
- /// Serializes this VpnConfig to a JSON map.
- Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
- /// Create a copy of VpnConfig
- /// with the given fields replaced by the non-null parameter values.
- @JsonKey(includeFromJson: false, includeToJson: false)
- $VpnConfigCopyWith<VpnConfig> get copyWith =>
- throw _privateConstructorUsedError;
- }
- /// @nodoc
- abstract class $VpnConfigCopyWith<$Res> {
- factory $VpnConfigCopyWith(VpnConfig value, $Res Function(VpnConfig) then) =
- _$VpnConfigCopyWithImpl<$Res, VpnConfig>;
- @useResult
- $Res call({
- List<String>? cdnRouters,
- int? autoDisconnectMinutes,
- ConnectArgs? connectArgs,
- String? defaultDnsServers,
- String? forceSkipDomain,
- List<String>? routers,
- SkipIps? skipIps,
- });
- $ConnectArgsCopyWith<$Res>? get connectArgs;
- $SkipIpsCopyWith<$Res>? get skipIps;
- }
- /// @nodoc
- class _$VpnConfigCopyWithImpl<$Res, $Val extends VpnConfig>
- implements $VpnConfigCopyWith<$Res> {
- _$VpnConfigCopyWithImpl(this._value, this._then);
- // ignore: unused_field
- final $Val _value;
- // ignore: unused_field
- final $Res Function($Val) _then;
- /// Create a copy of VpnConfig
- /// with the given fields replaced by the non-null parameter values.
- @pragma('vm:prefer-inline')
- @override
- $Res call({
- Object? cdnRouters = freezed,
- Object? autoDisconnectMinutes = freezed,
- Object? connectArgs = freezed,
- Object? defaultDnsServers = freezed,
- Object? forceSkipDomain = freezed,
- Object? routers = freezed,
- Object? skipIps = freezed,
- }) {
- return _then(
- _value.copyWith(
- cdnRouters: freezed == cdnRouters
- ? _value.cdnRouters
- : cdnRouters // ignore: cast_nullable_to_non_nullable
- as List<String>?,
- autoDisconnectMinutes: freezed == autoDisconnectMinutes
- ? _value.autoDisconnectMinutes
- : autoDisconnectMinutes // ignore: cast_nullable_to_non_nullable
- as int?,
- connectArgs: freezed == connectArgs
- ? _value.connectArgs
- : connectArgs // ignore: cast_nullable_to_non_nullable
- as ConnectArgs?,
- defaultDnsServers: freezed == defaultDnsServers
- ? _value.defaultDnsServers
- : defaultDnsServers // ignore: cast_nullable_to_non_nullable
- as String?,
- forceSkipDomain: freezed == forceSkipDomain
- ? _value.forceSkipDomain
- : forceSkipDomain // ignore: cast_nullable_to_non_nullable
- as String?,
- routers: freezed == routers
- ? _value.routers
- : routers // ignore: cast_nullable_to_non_nullable
- as List<String>?,
- skipIps: freezed == skipIps
- ? _value.skipIps
- : skipIps // ignore: cast_nullable_to_non_nullable
- as SkipIps?,
- )
- as $Val,
- );
- }
- /// Create a copy of VpnConfig
- /// with the given fields replaced by the non-null parameter values.
- @override
- @pragma('vm:prefer-inline')
- $ConnectArgsCopyWith<$Res>? get connectArgs {
- if (_value.connectArgs == null) {
- return null;
- }
- return $ConnectArgsCopyWith<$Res>(_value.connectArgs!, (value) {
- return _then(_value.copyWith(connectArgs: value) as $Val);
- });
- }
- /// Create a copy of VpnConfig
- /// with the given fields replaced by the non-null parameter values.
- @override
- @pragma('vm:prefer-inline')
- $SkipIpsCopyWith<$Res>? get skipIps {
- if (_value.skipIps == null) {
- return null;
- }
- return $SkipIpsCopyWith<$Res>(_value.skipIps!, (value) {
- return _then(_value.copyWith(skipIps: value) as $Val);
- });
- }
- }
- /// @nodoc
- abstract class _$$VpnConfigImplCopyWith<$Res>
- implements $VpnConfigCopyWith<$Res> {
- factory _$$VpnConfigImplCopyWith(
- _$VpnConfigImpl value,
- $Res Function(_$VpnConfigImpl) then,
- ) = __$$VpnConfigImplCopyWithImpl<$Res>;
- @override
- @useResult
- $Res call({
- List<String>? cdnRouters,
- int? autoDisconnectMinutes,
- ConnectArgs? connectArgs,
- String? defaultDnsServers,
- String? forceSkipDomain,
- List<String>? routers,
- SkipIps? skipIps,
- });
- @override
- $ConnectArgsCopyWith<$Res>? get connectArgs;
- @override
- $SkipIpsCopyWith<$Res>? get skipIps;
- }
- /// @nodoc
- class __$$VpnConfigImplCopyWithImpl<$Res>
- extends _$VpnConfigCopyWithImpl<$Res, _$VpnConfigImpl>
- implements _$$VpnConfigImplCopyWith<$Res> {
- __$$VpnConfigImplCopyWithImpl(
- _$VpnConfigImpl _value,
- $Res Function(_$VpnConfigImpl) _then,
- ) : super(_value, _then);
- /// Create a copy of VpnConfig
- /// with the given fields replaced by the non-null parameter values.
- @pragma('vm:prefer-inline')
- @override
- $Res call({
- Object? cdnRouters = freezed,
- Object? autoDisconnectMinutes = freezed,
- Object? connectArgs = freezed,
- Object? defaultDnsServers = freezed,
- Object? forceSkipDomain = freezed,
- Object? routers = freezed,
- Object? skipIps = freezed,
- }) {
- return _then(
- _$VpnConfigImpl(
- cdnRouters: freezed == cdnRouters
- ? _value._cdnRouters
- : cdnRouters // ignore: cast_nullable_to_non_nullable
- as List<String>?,
- autoDisconnectMinutes: freezed == autoDisconnectMinutes
- ? _value.autoDisconnectMinutes
- : autoDisconnectMinutes // ignore: cast_nullable_to_non_nullable
- as int?,
- connectArgs: freezed == connectArgs
- ? _value.connectArgs
- : connectArgs // ignore: cast_nullable_to_non_nullable
- as ConnectArgs?,
- defaultDnsServers: freezed == defaultDnsServers
- ? _value.defaultDnsServers
- : defaultDnsServers // ignore: cast_nullable_to_non_nullable
- as String?,
- forceSkipDomain: freezed == forceSkipDomain
- ? _value.forceSkipDomain
- : forceSkipDomain // ignore: cast_nullable_to_non_nullable
- as String?,
- routers: freezed == routers
- ? _value._routers
- : routers // ignore: cast_nullable_to_non_nullable
- as List<String>?,
- skipIps: freezed == skipIps
- ? _value.skipIps
- : skipIps // ignore: cast_nullable_to_non_nullable
- as SkipIps?,
- ),
- );
- }
- }
- /// @nodoc
- @JsonSerializable()
- class _$VpnConfigImpl with DiagnosticableTreeMixin implements _VpnConfig {
- const _$VpnConfigImpl({
- final List<String>? cdnRouters,
- this.autoDisconnectMinutes,
- this.connectArgs,
- this.defaultDnsServers,
- this.forceSkipDomain,
- final List<String>? routers,
- this.skipIps,
- }) : _cdnRouters = cdnRouters,
- _routers = routers;
- factory _$VpnConfigImpl.fromJson(Map<String, dynamic> json) =>
- _$$VpnConfigImplFromJson(json);
- final List<String>? _cdnRouters;
- @override
- List<String>? get cdnRouters {
- final value = _cdnRouters;
- if (value == null) return null;
- if (_cdnRouters is EqualUnmodifiableListView) return _cdnRouters;
- // ignore: implicit_dynamic_type
- return EqualUnmodifiableListView(value);
- }
- @override
- final int? autoDisconnectMinutes;
- @override
- final ConnectArgs? connectArgs;
- @override
- final String? defaultDnsServers;
- @override
- final String? forceSkipDomain;
- final List<String>? _routers;
- @override
- List<String>? get routers {
- final value = _routers;
- if (value == null) return null;
- if (_routers is EqualUnmodifiableListView) return _routers;
- // ignore: implicit_dynamic_type
- return EqualUnmodifiableListView(value);
- }
- @override
- final SkipIps? skipIps;
- @override
- String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
- return 'VpnConfig(cdnRouters: $cdnRouters, autoDisconnectMinutes: $autoDisconnectMinutes, connectArgs: $connectArgs, defaultDnsServers: $defaultDnsServers, forceSkipDomain: $forceSkipDomain, routers: $routers, skipIps: $skipIps)';
- }
- @override
- void debugFillProperties(DiagnosticPropertiesBuilder properties) {
- super.debugFillProperties(properties);
- properties
- ..add(DiagnosticsProperty('type', 'VpnConfig'))
- ..add(DiagnosticsProperty('cdnRouters', cdnRouters))
- ..add(DiagnosticsProperty('autoDisconnectMinutes', autoDisconnectMinutes))
- ..add(DiagnosticsProperty('connectArgs', connectArgs))
- ..add(DiagnosticsProperty('defaultDnsServers', defaultDnsServers))
- ..add(DiagnosticsProperty('forceSkipDomain', forceSkipDomain))
- ..add(DiagnosticsProperty('routers', routers))
- ..add(DiagnosticsProperty('skipIps', skipIps));
- }
- @override
- bool operator ==(Object other) {
- return identical(this, other) ||
- (other.runtimeType == runtimeType &&
- other is _$VpnConfigImpl &&
- const DeepCollectionEquality().equals(
- other._cdnRouters,
- _cdnRouters,
- ) &&
- (identical(other.autoDisconnectMinutes, autoDisconnectMinutes) ||
- other.autoDisconnectMinutes == autoDisconnectMinutes) &&
- (identical(other.connectArgs, connectArgs) ||
- other.connectArgs == connectArgs) &&
- (identical(other.defaultDnsServers, defaultDnsServers) ||
- other.defaultDnsServers == defaultDnsServers) &&
- (identical(other.forceSkipDomain, forceSkipDomain) ||
- other.forceSkipDomain == forceSkipDomain) &&
- const DeepCollectionEquality().equals(other._routers, _routers) &&
- (identical(other.skipIps, skipIps) || other.skipIps == skipIps));
- }
- @JsonKey(includeFromJson: false, includeToJson: false)
- @override
- int get hashCode => Object.hash(
- runtimeType,
- const DeepCollectionEquality().hash(_cdnRouters),
- autoDisconnectMinutes,
- connectArgs,
- defaultDnsServers,
- forceSkipDomain,
- const DeepCollectionEquality().hash(_routers),
- skipIps,
- );
- /// Create a copy of VpnConfig
- /// with the given fields replaced by the non-null parameter values.
- @JsonKey(includeFromJson: false, includeToJson: false)
- @override
- @pragma('vm:prefer-inline')
- _$$VpnConfigImplCopyWith<_$VpnConfigImpl> get copyWith =>
- __$$VpnConfigImplCopyWithImpl<_$VpnConfigImpl>(this, _$identity);
- @override
- Map<String, dynamic> toJson() {
- return _$$VpnConfigImplToJson(this);
- }
- }
- abstract class _VpnConfig implements VpnConfig {
- const factory _VpnConfig({
- final List<String>? cdnRouters,
- final int? autoDisconnectMinutes,
- final ConnectArgs? connectArgs,
- final String? defaultDnsServers,
- final String? forceSkipDomain,
- final List<String>? routers,
- final SkipIps? skipIps,
- }) = _$VpnConfigImpl;
- factory _VpnConfig.fromJson(Map<String, dynamic> json) =
- _$VpnConfigImpl.fromJson;
- @override
- List<String>? get cdnRouters;
- @override
- int? get autoDisconnectMinutes;
- @override
- ConnectArgs? get connectArgs;
- @override
- String? get defaultDnsServers;
- @override
- String? get forceSkipDomain;
- @override
- List<String>? get routers;
- @override
- SkipIps? get skipIps;
- /// Create a copy of VpnConfig
- /// with the given fields replaced by the non-null parameter values.
- @override
- @JsonKey(includeFromJson: false, includeToJson: false)
- _$$VpnConfigImplCopyWith<_$VpnConfigImpl> get copyWith =>
- throw _privateConstructorUsedError;
- }
- ConnectArgs _$ConnectArgsFromJson(Map<String, dynamic> json) {
- return _ConnectArgs.fromJson(json);
- }
- /// @nodoc
- mixin _$ConnectArgs {
- String? get p => throw _privateConstructorUsedError;
- String? get v => throw _privateConstructorUsedError;
- /// Serializes this ConnectArgs to a JSON map.
- Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
- /// Create a copy of ConnectArgs
- /// with the given fields replaced by the non-null parameter values.
- @JsonKey(includeFromJson: false, includeToJson: false)
- $ConnectArgsCopyWith<ConnectArgs> get copyWith =>
- throw _privateConstructorUsedError;
- }
- /// @nodoc
- abstract class $ConnectArgsCopyWith<$Res> {
- factory $ConnectArgsCopyWith(
- ConnectArgs value,
- $Res Function(ConnectArgs) then,
- ) = _$ConnectArgsCopyWithImpl<$Res, ConnectArgs>;
- @useResult
- $Res call({String? p, String? v});
- }
- /// @nodoc
- class _$ConnectArgsCopyWithImpl<$Res, $Val extends ConnectArgs>
- implements $ConnectArgsCopyWith<$Res> {
- _$ConnectArgsCopyWithImpl(this._value, this._then);
- // ignore: unused_field
- final $Val _value;
- // ignore: unused_field
- final $Res Function($Val) _then;
- /// Create a copy of ConnectArgs
- /// with the given fields replaced by the non-null parameter values.
- @pragma('vm:prefer-inline')
- @override
- $Res call({Object? p = freezed, Object? v = freezed}) {
- return _then(
- _value.copyWith(
- p: freezed == p
- ? _value.p
- : p // ignore: cast_nullable_to_non_nullable
- as String?,
- v: freezed == v
- ? _value.v
- : v // ignore: cast_nullable_to_non_nullable
- as String?,
- )
- as $Val,
- );
- }
- }
- /// @nodoc
- abstract class _$$ConnectArgsImplCopyWith<$Res>
- implements $ConnectArgsCopyWith<$Res> {
- factory _$$ConnectArgsImplCopyWith(
- _$ConnectArgsImpl value,
- $Res Function(_$ConnectArgsImpl) then,
- ) = __$$ConnectArgsImplCopyWithImpl<$Res>;
- @override
- @useResult
- $Res call({String? p, String? v});
- }
- /// @nodoc
- class __$$ConnectArgsImplCopyWithImpl<$Res>
- extends _$ConnectArgsCopyWithImpl<$Res, _$ConnectArgsImpl>
- implements _$$ConnectArgsImplCopyWith<$Res> {
- __$$ConnectArgsImplCopyWithImpl(
- _$ConnectArgsImpl _value,
- $Res Function(_$ConnectArgsImpl) _then,
- ) : super(_value, _then);
- /// Create a copy of ConnectArgs
- /// with the given fields replaced by the non-null parameter values.
- @pragma('vm:prefer-inline')
- @override
- $Res call({Object? p = freezed, Object? v = freezed}) {
- return _then(
- _$ConnectArgsImpl(
- p: freezed == p
- ? _value.p
- : p // ignore: cast_nullable_to_non_nullable
- as String?,
- v: freezed == v
- ? _value.v
- : v // ignore: cast_nullable_to_non_nullable
- as String?,
- ),
- );
- }
- }
- /// @nodoc
- @JsonSerializable()
- class _$ConnectArgsImpl with DiagnosticableTreeMixin implements _ConnectArgs {
- const _$ConnectArgsImpl({this.p, this.v});
- factory _$ConnectArgsImpl.fromJson(Map<String, dynamic> json) =>
- _$$ConnectArgsImplFromJson(json);
- @override
- final String? p;
- @override
- final String? v;
- @override
- String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
- return 'ConnectArgs(p: $p, v: $v)';
- }
- @override
- void debugFillProperties(DiagnosticPropertiesBuilder properties) {
- super.debugFillProperties(properties);
- properties
- ..add(DiagnosticsProperty('type', 'ConnectArgs'))
- ..add(DiagnosticsProperty('p', p))
- ..add(DiagnosticsProperty('v', v));
- }
- @override
- bool operator ==(Object other) {
- return identical(this, other) ||
- (other.runtimeType == runtimeType &&
- other is _$ConnectArgsImpl &&
- (identical(other.p, p) || other.p == p) &&
- (identical(other.v, v) || other.v == v));
- }
- @JsonKey(includeFromJson: false, includeToJson: false)
- @override
- int get hashCode => Object.hash(runtimeType, p, v);
- /// Create a copy of ConnectArgs
- /// with the given fields replaced by the non-null parameter values.
- @JsonKey(includeFromJson: false, includeToJson: false)
- @override
- @pragma('vm:prefer-inline')
- _$$ConnectArgsImplCopyWith<_$ConnectArgsImpl> get copyWith =>
- __$$ConnectArgsImplCopyWithImpl<_$ConnectArgsImpl>(this, _$identity);
- @override
- Map<String, dynamic> toJson() {
- return _$$ConnectArgsImplToJson(this);
- }
- }
- abstract class _ConnectArgs implements ConnectArgs {
- const factory _ConnectArgs({final String? p, final String? v}) =
- _$ConnectArgsImpl;
- factory _ConnectArgs.fromJson(Map<String, dynamic> json) =
- _$ConnectArgsImpl.fromJson;
- @override
- String? get p;
- @override
- String? get v;
- /// Create a copy of ConnectArgs
- /// with the given fields replaced by the non-null parameter values.
- @override
- @JsonKey(includeFromJson: false, includeToJson: false)
- _$$ConnectArgsImplCopyWith<_$ConnectArgsImpl> get copyWith =>
- throw _privateConstructorUsedError;
- }
- SkipIps _$SkipIpsFromJson(Map<String, dynamic> json) {
- return _SkipIps.fromJson(json);
- }
- /// @nodoc
- mixin _$SkipIps {
- String? get md5 => throw _privateConstructorUsedError;
- String? get url => throw _privateConstructorUsedError;
- /// Serializes this SkipIps to a JSON map.
- Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
- /// Create a copy of SkipIps
- /// with the given fields replaced by the non-null parameter values.
- @JsonKey(includeFromJson: false, includeToJson: false)
- $SkipIpsCopyWith<SkipIps> get copyWith => throw _privateConstructorUsedError;
- }
- /// @nodoc
- abstract class $SkipIpsCopyWith<$Res> {
- factory $SkipIpsCopyWith(SkipIps value, $Res Function(SkipIps) then) =
- _$SkipIpsCopyWithImpl<$Res, SkipIps>;
- @useResult
- $Res call({String? md5, String? url});
- }
- /// @nodoc
- class _$SkipIpsCopyWithImpl<$Res, $Val extends SkipIps>
- implements $SkipIpsCopyWith<$Res> {
- _$SkipIpsCopyWithImpl(this._value, this._then);
- // ignore: unused_field
- final $Val _value;
- // ignore: unused_field
- final $Res Function($Val) _then;
- /// Create a copy of SkipIps
- /// with the given fields replaced by the non-null parameter values.
- @pragma('vm:prefer-inline')
- @override
- $Res call({Object? md5 = freezed, Object? url = freezed}) {
- return _then(
- _value.copyWith(
- md5: freezed == md5
- ? _value.md5
- : md5 // ignore: cast_nullable_to_non_nullable
- as String?,
- url: freezed == url
- ? _value.url
- : url // ignore: cast_nullable_to_non_nullable
- as String?,
- )
- as $Val,
- );
- }
- }
- /// @nodoc
- abstract class _$$SkipIpsImplCopyWith<$Res> implements $SkipIpsCopyWith<$Res> {
- factory _$$SkipIpsImplCopyWith(
- _$SkipIpsImpl value,
- $Res Function(_$SkipIpsImpl) then,
- ) = __$$SkipIpsImplCopyWithImpl<$Res>;
- @override
- @useResult
- $Res call({String? md5, String? url});
- }
- /// @nodoc
- class __$$SkipIpsImplCopyWithImpl<$Res>
- extends _$SkipIpsCopyWithImpl<$Res, _$SkipIpsImpl>
- implements _$$SkipIpsImplCopyWith<$Res> {
- __$$SkipIpsImplCopyWithImpl(
- _$SkipIpsImpl _value,
- $Res Function(_$SkipIpsImpl) _then,
- ) : super(_value, _then);
- /// Create a copy of SkipIps
- /// with the given fields replaced by the non-null parameter values.
- @pragma('vm:prefer-inline')
- @override
- $Res call({Object? md5 = freezed, Object? url = freezed}) {
- return _then(
- _$SkipIpsImpl(
- md5: freezed == md5
- ? _value.md5
- : md5 // ignore: cast_nullable_to_non_nullable
- as String?,
- url: freezed == url
- ? _value.url
- : url // ignore: cast_nullable_to_non_nullable
- as String?,
- ),
- );
- }
- }
- /// @nodoc
- @JsonSerializable()
- class _$SkipIpsImpl with DiagnosticableTreeMixin implements _SkipIps {
- const _$SkipIpsImpl({this.md5, this.url});
- factory _$SkipIpsImpl.fromJson(Map<String, dynamic> json) =>
- _$$SkipIpsImplFromJson(json);
- @override
- final String? md5;
- @override
- final String? url;
- @override
- String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
- return 'SkipIps(md5: $md5, url: $url)';
- }
- @override
- void debugFillProperties(DiagnosticPropertiesBuilder properties) {
- super.debugFillProperties(properties);
- properties
- ..add(DiagnosticsProperty('type', 'SkipIps'))
- ..add(DiagnosticsProperty('md5', md5))
- ..add(DiagnosticsProperty('url', url));
- }
- @override
- bool operator ==(Object other) {
- return identical(this, other) ||
- (other.runtimeType == runtimeType &&
- other is _$SkipIpsImpl &&
- (identical(other.md5, md5) || other.md5 == md5) &&
- (identical(other.url, url) || other.url == url));
- }
- @JsonKey(includeFromJson: false, includeToJson: false)
- @override
- int get hashCode => Object.hash(runtimeType, md5, url);
- /// Create a copy of SkipIps
- /// with the given fields replaced by the non-null parameter values.
- @JsonKey(includeFromJson: false, includeToJson: false)
- @override
- @pragma('vm:prefer-inline')
- _$$SkipIpsImplCopyWith<_$SkipIpsImpl> get copyWith =>
- __$$SkipIpsImplCopyWithImpl<_$SkipIpsImpl>(this, _$identity);
- @override
- Map<String, dynamic> toJson() {
- return _$$SkipIpsImplToJson(this);
- }
- }
- abstract class _SkipIps implements SkipIps {
- const factory _SkipIps({final String? md5, final String? url}) =
- _$SkipIpsImpl;
- factory _SkipIps.fromJson(Map<String, dynamic> json) = _$SkipIpsImpl.fromJson;
- @override
- String? get md5;
- @override
- String? get url;
- /// Create a copy of SkipIps
- /// with the given fields replaced by the non-null parameter values.
- @override
- @JsonKey(includeFromJson: false, includeToJson: false)
- _$$SkipIpsImplCopyWith<_$SkipIpsImpl> get copyWith =>
- throw _privateConstructorUsedError;
- }
|