|
|
@@ -12,7 +12,8 @@ part of 'vpn_config.dart';
|
|
|
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');
|
|
|
+ '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);
|
|
|
@@ -43,14 +44,15 @@ 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});
|
|
|
+ $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;
|
|
|
@@ -79,36 +81,39 @@ class _$VpnConfigCopyWithImpl<$Res, $Val extends VpnConfig>
|
|
|
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);
|
|
|
+ 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
|
|
|
@@ -144,18 +149,20 @@ class _$VpnConfigCopyWithImpl<$Res, $Val extends VpnConfig>
|
|
|
abstract class _$$VpnConfigImplCopyWith<$Res>
|
|
|
implements $VpnConfigCopyWith<$Res> {
|
|
|
factory _$$VpnConfigImplCopyWith(
|
|
|
- _$VpnConfigImpl value, $Res Function(_$VpnConfigImpl) then) =
|
|
|
- __$$VpnConfigImplCopyWithImpl<$Res>;
|
|
|
+ _$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});
|
|
|
+ $Res call({
|
|
|
+ List<String>? cdnRouters,
|
|
|
+ int? autoDisconnectMinutes,
|
|
|
+ ConnectArgs? connectArgs,
|
|
|
+ String? defaultDnsServers,
|
|
|
+ String? forceSkipDomain,
|
|
|
+ List<String>? routers,
|
|
|
+ SkipIps? skipIps,
|
|
|
+ });
|
|
|
|
|
|
@override
|
|
|
$ConnectArgsCopyWith<$Res>? get connectArgs;
|
|
|
@@ -168,8 +175,9 @@ class __$$VpnConfigImplCopyWithImpl<$Res>
|
|
|
extends _$VpnConfigCopyWithImpl<$Res, _$VpnConfigImpl>
|
|
|
implements _$$VpnConfigImplCopyWith<$Res> {
|
|
|
__$$VpnConfigImplCopyWithImpl(
|
|
|
- _$VpnConfigImpl _value, $Res Function(_$VpnConfigImpl) _then)
|
|
|
- : super(_value, _then);
|
|
|
+ _$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.
|
|
|
@@ -184,52 +192,54 @@ class __$$VpnConfigImplCopyWithImpl<$Res>
|
|
|
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?,
|
|
|
- ));
|
|
|
+ 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;
|
|
|
+ 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);
|
|
|
@@ -289,8 +299,10 @@ class _$VpnConfigImpl with DiagnosticableTreeMixin implements _VpnConfig {
|
|
|
return identical(this, other) ||
|
|
|
(other.runtimeType == runtimeType &&
|
|
|
other is _$VpnConfigImpl &&
|
|
|
- const DeepCollectionEquality()
|
|
|
- .equals(other._cdnRouters, _cdnRouters) &&
|
|
|
+ const DeepCollectionEquality().equals(
|
|
|
+ other._cdnRouters,
|
|
|
+ _cdnRouters,
|
|
|
+ ) &&
|
|
|
(identical(other.autoDisconnectMinutes, autoDisconnectMinutes) ||
|
|
|
other.autoDisconnectMinutes == autoDisconnectMinutes) &&
|
|
|
(identical(other.connectArgs, connectArgs) ||
|
|
|
@@ -306,14 +318,15 @@ class _$VpnConfigImpl with DiagnosticableTreeMixin implements _VpnConfig {
|
|
|
@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);
|
|
|
+ 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.
|
|
|
@@ -325,21 +338,20 @@ class _$VpnConfigImpl with DiagnosticableTreeMixin implements _VpnConfig {
|
|
|
|
|
|
@override
|
|
|
Map<String, dynamic> toJson() {
|
|
|
- return _$$VpnConfigImplToJson(
|
|
|
- this,
|
|
|
- );
|
|
|
+ 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;
|
|
|
+ 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;
|
|
|
@@ -389,8 +401,9 @@ mixin _$ConnectArgs {
|
|
|
/// @nodoc
|
|
|
abstract class $ConnectArgsCopyWith<$Res> {
|
|
|
factory $ConnectArgsCopyWith(
|
|
|
- ConnectArgs value, $Res Function(ConnectArgs) then) =
|
|
|
- _$ConnectArgsCopyWithImpl<$Res, ConnectArgs>;
|
|
|
+ ConnectArgs value,
|
|
|
+ $Res Function(ConnectArgs) then,
|
|
|
+ ) = _$ConnectArgsCopyWithImpl<$Res, ConnectArgs>;
|
|
|
@useResult
|
|
|
$Res call({String? p, String? v});
|
|
|
}
|
|
|
@@ -409,20 +422,20 @@ class _$ConnectArgsCopyWithImpl<$Res, $Val extends 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);
|
|
|
+ $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,
|
|
|
+ );
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -430,8 +443,9 @@ class _$ConnectArgsCopyWithImpl<$Res, $Val extends ConnectArgs>
|
|
|
abstract class _$$ConnectArgsImplCopyWith<$Res>
|
|
|
implements $ConnectArgsCopyWith<$Res> {
|
|
|
factory _$$ConnectArgsImplCopyWith(
|
|
|
- _$ConnectArgsImpl value, $Res Function(_$ConnectArgsImpl) then) =
|
|
|
- __$$ConnectArgsImplCopyWithImpl<$Res>;
|
|
|
+ _$ConnectArgsImpl value,
|
|
|
+ $Res Function(_$ConnectArgsImpl) then,
|
|
|
+ ) = __$$ConnectArgsImplCopyWithImpl<$Res>;
|
|
|
@override
|
|
|
@useResult
|
|
|
$Res call({String? p, String? v});
|
|
|
@@ -442,27 +456,27 @@ class __$$ConnectArgsImplCopyWithImpl<$Res>
|
|
|
extends _$ConnectArgsCopyWithImpl<$Res, _$ConnectArgsImpl>
|
|
|
implements _$$ConnectArgsImplCopyWith<$Res> {
|
|
|
__$$ConnectArgsImplCopyWithImpl(
|
|
|
- _$ConnectArgsImpl _value, $Res Function(_$ConnectArgsImpl) _then)
|
|
|
- : super(_value, _then);
|
|
|
+ _$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?,
|
|
|
- ));
|
|
|
+ $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?,
|
|
|
+ ),
|
|
|
+ );
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -516,9 +530,7 @@ class _$ConnectArgsImpl with DiagnosticableTreeMixin implements _ConnectArgs {
|
|
|
|
|
|
@override
|
|
|
Map<String, dynamic> toJson() {
|
|
|
- return _$$ConnectArgsImplToJson(
|
|
|
- this,
|
|
|
- );
|
|
|
+ return _$$ConnectArgsImplToJson(this);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -582,28 +594,29 @@ class _$SkipIpsCopyWithImpl<$Res, $Val extends 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);
|
|
|
+ $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>;
|
|
|
+ _$SkipIpsImpl value,
|
|
|
+ $Res Function(_$SkipIpsImpl) then,
|
|
|
+ ) = __$$SkipIpsImplCopyWithImpl<$Res>;
|
|
|
@override
|
|
|
@useResult
|
|
|
$Res call({String? md5, String? url});
|
|
|
@@ -614,27 +627,27 @@ class __$$SkipIpsImplCopyWithImpl<$Res>
|
|
|
extends _$SkipIpsCopyWithImpl<$Res, _$SkipIpsImpl>
|
|
|
implements _$$SkipIpsImplCopyWith<$Res> {
|
|
|
__$$SkipIpsImplCopyWithImpl(
|
|
|
- _$SkipIpsImpl _value, $Res Function(_$SkipIpsImpl) _then)
|
|
|
- : super(_value, _then);
|
|
|
+ _$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?,
|
|
|
- ));
|
|
|
+ $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?,
|
|
|
+ ),
|
|
|
+ );
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -688,9 +701,7 @@ class _$SkipIpsImpl with DiagnosticableTreeMixin implements _SkipIps {
|
|
|
|
|
|
@override
|
|
|
Map<String, dynamic> toJson() {
|
|
|
- return _$$SkipIpsImplToJson(
|
|
|
- this,
|
|
|
- );
|
|
|
+ return _$$SkipIpsImplToJson(this);
|
|
|
}
|
|
|
}
|
|
|
|