2024-04-30 23:38:49 +08:00
// 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 ' ../ffi.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. \n Please check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models ' ) ;
2024-07-02 08:08:31 +08:00
ConfigExtendedParams _ $ConfigExtendedParamsFromJson ( Map < String , dynamic > json ) {
return _ConfigExtendedParams . fromJson ( json ) ;
}
/// @nodoc
mixin _ $ConfigExtendedParams {
@ JsonKey ( name: " is-patch " )
bool get isPatch = > throw _privateConstructorUsedError ;
@ JsonKey ( name: " is-compatible " )
bool get isCompatible = > throw _privateConstructorUsedError ;
@ JsonKey ( name: " selected-map " )
Map < String , String > get selectedMap = > throw _privateConstructorUsedError ;
@ JsonKey ( name: " test-url " )
String get testUrl = > throw _privateConstructorUsedError ;
Map < String , dynamic > toJson ( ) = > throw _privateConstructorUsedError ;
@ JsonKey ( ignore: true )
$ConfigExtendedParamsCopyWith < ConfigExtendedParams > get copyWith = >
throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $ConfigExtendedParamsCopyWith < $Res > {
factory $ConfigExtendedParamsCopyWith ( ConfigExtendedParams value ,
$Res Function ( ConfigExtendedParams ) then ) =
_ $ConfigExtendedParamsCopyWithImpl < $Res , ConfigExtendedParams > ;
@ useResult
$Res call (
{ @ JsonKey ( name: " is-patch " ) bool isPatch ,
@ JsonKey ( name: " is-compatible " ) bool isCompatible ,
@ JsonKey ( name: " selected-map " ) Map < String , String > selectedMap ,
@ JsonKey ( name: " test-url " ) String testUrl } ) ;
}
/// @nodoc
class _ $ConfigExtendedParamsCopyWithImpl < $Res ,
$Val extends ConfigExtendedParams >
implements $ConfigExtendedParamsCopyWith < $Res > {
_ $ConfigExtendedParamsCopyWithImpl ( this . _value , this . _then ) ;
// ignore: unused_field
final $Val _value ;
// ignore: unused_field
final $Res Function ( $Val ) _then ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? isPatch = null ,
Object ? isCompatible = null ,
Object ? selectedMap = null ,
Object ? testUrl = null ,
} ) {
return _then ( _value . copyWith (
isPatch: null = = isPatch
? _value . isPatch
: isPatch // ignore: cast_nullable_to_non_nullable
as bool ,
isCompatible: null = = isCompatible
? _value . isCompatible
: isCompatible // ignore: cast_nullable_to_non_nullable
as bool ,
selectedMap: null = = selectedMap
? _value . selectedMap
: selectedMap // ignore: cast_nullable_to_non_nullable
as Map < String , String > ,
testUrl: null = = testUrl
? _value . testUrl
: testUrl // ignore: cast_nullable_to_non_nullable
as String ,
) as $Val ) ;
}
}
/// @nodoc
abstract class _ $ $ConfigExtendedParamsImplCopyWith < $Res >
implements $ConfigExtendedParamsCopyWith < $Res > {
factory _ $ $ConfigExtendedParamsImplCopyWith ( _ $ConfigExtendedParamsImpl value ,
$Res Function ( _ $ConfigExtendedParamsImpl ) then ) =
__ $ $ConfigExtendedParamsImplCopyWithImpl < $Res > ;
@ override
@ useResult
$Res call (
{ @ JsonKey ( name: " is-patch " ) bool isPatch ,
@ JsonKey ( name: " is-compatible " ) bool isCompatible ,
@ JsonKey ( name: " selected-map " ) Map < String , String > selectedMap ,
@ JsonKey ( name: " test-url " ) String testUrl } ) ;
}
/// @nodoc
class __ $ $ConfigExtendedParamsImplCopyWithImpl < $Res >
extends _ $ConfigExtendedParamsCopyWithImpl < $Res , _ $ConfigExtendedParamsImpl >
implements _ $ $ConfigExtendedParamsImplCopyWith < $Res > {
__ $ $ConfigExtendedParamsImplCopyWithImpl ( _ $ConfigExtendedParamsImpl _value ,
$Res Function ( _ $ConfigExtendedParamsImpl ) _then )
: super ( _value , _then ) ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? isPatch = null ,
Object ? isCompatible = null ,
Object ? selectedMap = null ,
Object ? testUrl = null ,
} ) {
return _then ( _ $ConfigExtendedParamsImpl (
isPatch: null = = isPatch
? _value . isPatch
: isPatch // ignore: cast_nullable_to_non_nullable
as bool ,
isCompatible: null = = isCompatible
? _value . isCompatible
: isCompatible // ignore: cast_nullable_to_non_nullable
as bool ,
selectedMap: null = = selectedMap
? _value . _selectedMap
: selectedMap // ignore: cast_nullable_to_non_nullable
as Map < String , String > ,
testUrl: null = = testUrl
? _value . testUrl
: testUrl // ignore: cast_nullable_to_non_nullable
as String ,
) ) ;
}
}
/// @nodoc
@ JsonSerializable ( )
class _ $ConfigExtendedParamsImpl implements _ConfigExtendedParams {
const _ $ConfigExtendedParamsImpl (
{ @ JsonKey ( name: " is-patch " ) required this . isPatch ,
@ JsonKey ( name: " is-compatible " ) required this . isCompatible ,
@ JsonKey ( name: " selected-map " )
required final Map < String , String > selectedMap ,
@ JsonKey ( name: " test-url " ) required this . testUrl } )
: _selectedMap = selectedMap ;
factory _ $ConfigExtendedParamsImpl . fromJson ( Map < String , dynamic > json ) = >
_ $ $ConfigExtendedParamsImplFromJson ( json ) ;
@ override
@ JsonKey ( name: " is-patch " )
final bool isPatch ;
@ override
@ JsonKey ( name: " is-compatible " )
final bool isCompatible ;
final Map < String , String > _selectedMap ;
@ override
@ JsonKey ( name: " selected-map " )
Map < String , String > get selectedMap {
if ( _selectedMap is EqualUnmodifiableMapView ) return _selectedMap ;
// ignore: implicit_dynamic_type
return EqualUnmodifiableMapView ( _selectedMap ) ;
}
@ override
@ JsonKey ( name: " test-url " )
final String testUrl ;
@ override
String toString ( ) {
return ' ConfigExtendedParams(isPatch: $ isPatch , isCompatible: $ isCompatible , selectedMap: $ selectedMap , testUrl: $ testUrl ) ' ;
}
@ override
bool operator = = ( Object other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
other is _ $ConfigExtendedParamsImpl & &
( identical ( other . isPatch , isPatch ) | | other . isPatch = = isPatch ) & &
( identical ( other . isCompatible , isCompatible ) | |
other . isCompatible = = isCompatible ) & &
const DeepCollectionEquality ( )
. equals ( other . _selectedMap , _selectedMap ) & &
( identical ( other . testUrl , testUrl ) | | other . testUrl = = testUrl ) ) ;
}
@ JsonKey ( ignore: true )
@ override
int get hashCode = > Object . hash ( runtimeType , isPatch , isCompatible ,
const DeepCollectionEquality ( ) . hash ( _selectedMap ) , testUrl ) ;
@ JsonKey ( ignore: true )
@ override
@ pragma ( ' vm:prefer-inline ' )
_ $ $ConfigExtendedParamsImplCopyWith < _ $ConfigExtendedParamsImpl >
get copyWith = >
__ $ $ConfigExtendedParamsImplCopyWithImpl < _ $ConfigExtendedParamsImpl > (
this , _ $identity ) ;
@ override
Map < String , dynamic > toJson ( ) {
return _ $ $ConfigExtendedParamsImplToJson (
this ,
) ;
}
}
abstract class _ConfigExtendedParams implements ConfigExtendedParams {
const factory _ConfigExtendedParams (
{ @ JsonKey ( name: " is-patch " ) required final bool isPatch ,
@ JsonKey ( name: " is-compatible " ) required final bool isCompatible ,
@ JsonKey ( name: " selected-map " )
required final Map < String , String > selectedMap ,
@ JsonKey ( name: " test-url " ) required final String testUrl } ) =
_ $ConfigExtendedParamsImpl ;
factory _ConfigExtendedParams . fromJson ( Map < String , dynamic > json ) =
_ $ConfigExtendedParamsImpl . fromJson ;
@ override
@ JsonKey ( name: " is-patch " )
bool get isPatch ;
@ override
@ JsonKey ( name: " is-compatible " )
bool get isCompatible ;
@ override
@ JsonKey ( name: " selected-map " )
Map < String , String > get selectedMap ;
@ override
@ JsonKey ( name: " test-url " )
String get testUrl ;
@ override
@ JsonKey ( ignore: true )
_ $ $ConfigExtendedParamsImplCopyWith < _ $ConfigExtendedParamsImpl >
get copyWith = > throw _privateConstructorUsedError ;
}
2024-04-30 23:38:49 +08:00
UpdateConfigParams _ $UpdateConfigParamsFromJson ( Map < String , dynamic > json ) {
return _UpdateConfigParams . fromJson ( json ) ;
}
/// @nodoc
mixin _ $UpdateConfigParams {
2024-08-04 08:21:14 +08:00
@ JsonKey ( name: " profile-id " )
String get profileId = > throw _privateConstructorUsedError ;
2024-04-30 23:38:49 +08:00
ClashConfig get config = > throw _privateConstructorUsedError ;
2024-07-02 08:08:31 +08:00
ConfigExtendedParams get params = > throw _privateConstructorUsedError ;
2024-04-30 23:38:49 +08:00
Map < String , dynamic > toJson ( ) = > throw _privateConstructorUsedError ;
@ JsonKey ( ignore: true )
$UpdateConfigParamsCopyWith < UpdateConfigParams > get copyWith = >
throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $UpdateConfigParamsCopyWith < $Res > {
factory $UpdateConfigParamsCopyWith (
UpdateConfigParams value , $Res Function ( UpdateConfigParams ) then ) =
_ $UpdateConfigParamsCopyWithImpl < $Res , UpdateConfigParams > ;
@ useResult
$Res call (
2024-08-04 08:21:14 +08:00
{ @ JsonKey ( name: " profile-id " ) String profileId ,
2024-04-30 23:38:49 +08:00
ClashConfig config ,
2024-07-02 08:08:31 +08:00
ConfigExtendedParams params } ) ;
$ConfigExtendedParamsCopyWith < $Res > get params ;
2024-04-30 23:38:49 +08:00
}
/// @nodoc
class _ $UpdateConfigParamsCopyWithImpl < $Res , $Val extends UpdateConfigParams >
implements $UpdateConfigParamsCopyWith < $Res > {
_ $UpdateConfigParamsCopyWithImpl ( this . _value , this . _then ) ;
// ignore: unused_field
final $Val _value ;
// ignore: unused_field
final $Res Function ( $Val ) _then ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
2024-08-04 08:21:14 +08:00
Object ? profileId = null ,
2024-04-30 23:38:49 +08:00
Object ? config = null ,
2024-07-02 08:08:31 +08:00
Object ? params = null ,
2024-04-30 23:38:49 +08:00
} ) {
return _then ( _value . copyWith (
2024-08-04 08:21:14 +08:00
profileId: null = = profileId
? _value . profileId
: profileId // ignore: cast_nullable_to_non_nullable
as String ,
2024-04-30 23:38:49 +08:00
config: null = = config
? _value . config
: config // ignore: cast_nullable_to_non_nullable
as ClashConfig ,
2024-07-02 08:08:31 +08:00
params: null = = params
? _value . params
: params // ignore: cast_nullable_to_non_nullable
as ConfigExtendedParams ,
2024-04-30 23:38:49 +08:00
) as $Val ) ;
}
2024-07-02 08:08:31 +08:00
@ override
@ pragma ( ' vm:prefer-inline ' )
$ConfigExtendedParamsCopyWith < $Res > get params {
return $ConfigExtendedParamsCopyWith < $Res > ( _value . params , ( value ) {
return _then ( _value . copyWith ( params: value ) as $Val ) ;
} ) ;
}
2024-04-30 23:38:49 +08:00
}
/// @nodoc
abstract class _ $ $UpdateConfigParamsImplCopyWith < $Res >
implements $UpdateConfigParamsCopyWith < $Res > {
factory _ $ $UpdateConfigParamsImplCopyWith ( _ $UpdateConfigParamsImpl value ,
$Res Function ( _ $UpdateConfigParamsImpl ) then ) =
__ $ $UpdateConfigParamsImplCopyWithImpl < $Res > ;
@ override
@ useResult
$Res call (
2024-08-04 08:21:14 +08:00
{ @ JsonKey ( name: " profile-id " ) String profileId ,
2024-04-30 23:38:49 +08:00
ClashConfig config ,
2024-07-02 08:08:31 +08:00
ConfigExtendedParams params } ) ;
@ override
$ConfigExtendedParamsCopyWith < $Res > get params ;
2024-04-30 23:38:49 +08:00
}
/// @nodoc
class __ $ $UpdateConfigParamsImplCopyWithImpl < $Res >
extends _ $UpdateConfigParamsCopyWithImpl < $Res , _ $UpdateConfigParamsImpl >
implements _ $ $UpdateConfigParamsImplCopyWith < $Res > {
__ $ $UpdateConfigParamsImplCopyWithImpl ( _ $UpdateConfigParamsImpl _value ,
$Res Function ( _ $UpdateConfigParamsImpl ) _then )
: super ( _value , _then ) ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
2024-08-04 08:21:14 +08:00
Object ? profileId = null ,
2024-04-30 23:38:49 +08:00
Object ? config = null ,
2024-07-02 08:08:31 +08:00
Object ? params = null ,
2024-04-30 23:38:49 +08:00
} ) {
return _then ( _ $UpdateConfigParamsImpl (
2024-08-04 08:21:14 +08:00
profileId: null = = profileId
? _value . profileId
: profileId // ignore: cast_nullable_to_non_nullable
as String ,
2024-04-30 23:38:49 +08:00
config: null = = config
? _value . config
: config // ignore: cast_nullable_to_non_nullable
as ClashConfig ,
2024-07-02 08:08:31 +08:00
params: null = = params
? _value . params
: params // ignore: cast_nullable_to_non_nullable
as ConfigExtendedParams ,
2024-04-30 23:38:49 +08:00
) ) ;
}
}
/// @nodoc
@ JsonSerializable ( )
class _ $UpdateConfigParamsImpl implements _UpdateConfigParams {
const _ $UpdateConfigParamsImpl (
2024-08-04 08:21:14 +08:00
{ @ JsonKey ( name: " profile-id " ) required this . profileId ,
2024-04-30 23:38:49 +08:00
required this . config ,
2024-07-02 08:08:31 +08:00
required this . params } ) ;
2024-04-30 23:38:49 +08:00
factory _ $UpdateConfigParamsImpl . fromJson ( Map < String , dynamic > json ) = >
_ $ $UpdateConfigParamsImplFromJson ( json ) ;
@ override
2024-08-04 08:21:14 +08:00
@ JsonKey ( name: " profile-id " )
final String profileId ;
2024-04-30 23:38:49 +08:00
@ override
final ClashConfig config ;
@ override
2024-07-02 08:08:31 +08:00
final ConfigExtendedParams params ;
2024-04-30 23:38:49 +08:00
@ override
String toString ( ) {
2024-08-04 08:21:14 +08:00
return ' UpdateConfigParams(profileId: $ profileId , config: $ config , params: $ params ) ' ;
2024-04-30 23:38:49 +08:00
}
@ override
bool operator = = ( Object other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
other is _ $UpdateConfigParamsImpl & &
2024-08-04 08:21:14 +08:00
( identical ( other . profileId , profileId ) | |
other . profileId = = profileId ) & &
2024-04-30 23:38:49 +08:00
( identical ( other . config , config ) | | other . config = = config ) & &
2024-07-02 08:08:31 +08:00
( identical ( other . params , params ) | | other . params = = params ) ) ;
2024-04-30 23:38:49 +08:00
}
@ JsonKey ( ignore: true )
@ override
2024-08-04 08:21:14 +08:00
int get hashCode = > Object . hash ( runtimeType , profileId , config , params ) ;
2024-04-30 23:38:49 +08:00
@ JsonKey ( ignore: true )
@ override
@ pragma ( ' vm:prefer-inline ' )
_ $ $UpdateConfigParamsImplCopyWith < _ $UpdateConfigParamsImpl > get copyWith = >
__ $ $UpdateConfigParamsImplCopyWithImpl < _ $UpdateConfigParamsImpl > (
this , _ $identity ) ;
@ override
Map < String , dynamic > toJson ( ) {
return _ $ $UpdateConfigParamsImplToJson (
this ,
) ;
}
}
abstract class _UpdateConfigParams implements UpdateConfigParams {
const factory _UpdateConfigParams (
2024-08-04 08:21:14 +08:00
{ @ JsonKey ( name: " profile-id " ) required final String profileId ,
2024-07-02 08:08:31 +08:00
required final ClashConfig config ,
required final ConfigExtendedParams params } ) = _ $UpdateConfigParamsImpl ;
2024-04-30 23:38:49 +08:00
factory _UpdateConfigParams . fromJson ( Map < String , dynamic > json ) =
_ $UpdateConfigParamsImpl . fromJson ;
@ override
2024-08-04 08:21:14 +08:00
@ JsonKey ( name: " profile-id " )
String get profileId ;
2024-04-30 23:38:49 +08:00
@ override
ClashConfig get config ;
@ override
2024-07-02 08:08:31 +08:00
ConfigExtendedParams get params ;
2024-04-30 23:38:49 +08:00
@ override
@ JsonKey ( ignore: true )
_ $ $UpdateConfigParamsImplCopyWith < _ $UpdateConfigParamsImpl > get copyWith = >
throw _privateConstructorUsedError ;
}
ChangeProxyParams _ $ChangeProxyParamsFromJson ( Map < String , dynamic > json ) {
return _ChangeProxyParams . fromJson ( json ) ;
}
/// @nodoc
mixin _ $ChangeProxyParams {
@ JsonKey ( name: " group-name " )
String get groupName = > throw _privateConstructorUsedError ;
@ JsonKey ( name: " proxy-name " )
String get proxyName = > throw _privateConstructorUsedError ;
Map < String , dynamic > toJson ( ) = > throw _privateConstructorUsedError ;
@ JsonKey ( ignore: true )
$ChangeProxyParamsCopyWith < ChangeProxyParams > get copyWith = >
throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $ChangeProxyParamsCopyWith < $Res > {
factory $ChangeProxyParamsCopyWith (
ChangeProxyParams value , $Res Function ( ChangeProxyParams ) then ) =
_ $ChangeProxyParamsCopyWithImpl < $Res , ChangeProxyParams > ;
@ useResult
$Res call (
{ @ JsonKey ( name: " group-name " ) String groupName ,
@ JsonKey ( name: " proxy-name " ) String proxyName } ) ;
}
/// @nodoc
class _ $ChangeProxyParamsCopyWithImpl < $Res , $Val extends ChangeProxyParams >
implements $ChangeProxyParamsCopyWith < $Res > {
_ $ChangeProxyParamsCopyWithImpl ( this . _value , this . _then ) ;
// ignore: unused_field
final $Val _value ;
// ignore: unused_field
final $Res Function ( $Val ) _then ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? groupName = null ,
Object ? proxyName = null ,
} ) {
return _then ( _value . copyWith (
groupName: null = = groupName
? _value . groupName
: groupName // ignore: cast_nullable_to_non_nullable
as String ,
proxyName: null = = proxyName
? _value . proxyName
: proxyName // ignore: cast_nullable_to_non_nullable
as String ,
) as $Val ) ;
}
}
/// @nodoc
abstract class _ $ $ChangeProxyParamsImplCopyWith < $Res >
implements $ChangeProxyParamsCopyWith < $Res > {
factory _ $ $ChangeProxyParamsImplCopyWith ( _ $ChangeProxyParamsImpl value ,
$Res Function ( _ $ChangeProxyParamsImpl ) then ) =
__ $ $ChangeProxyParamsImplCopyWithImpl < $Res > ;
@ override
@ useResult
$Res call (
{ @ JsonKey ( name: " group-name " ) String groupName ,
@ JsonKey ( name: " proxy-name " ) String proxyName } ) ;
}
/// @nodoc
class __ $ $ChangeProxyParamsImplCopyWithImpl < $Res >
extends _ $ChangeProxyParamsCopyWithImpl < $Res , _ $ChangeProxyParamsImpl >
implements _ $ $ChangeProxyParamsImplCopyWith < $Res > {
__ $ $ChangeProxyParamsImplCopyWithImpl ( _ $ChangeProxyParamsImpl _value ,
$Res Function ( _ $ChangeProxyParamsImpl ) _then )
: super ( _value , _then ) ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? groupName = null ,
Object ? proxyName = null ,
} ) {
return _then ( _ $ChangeProxyParamsImpl (
groupName: null = = groupName
? _value . groupName
: groupName // ignore: cast_nullable_to_non_nullable
as String ,
proxyName: null = = proxyName
? _value . proxyName
: proxyName // ignore: cast_nullable_to_non_nullable
as String ,
) ) ;
}
}
/// @nodoc
@ JsonSerializable ( )
class _ $ChangeProxyParamsImpl implements _ChangeProxyParams {
const _ $ChangeProxyParamsImpl (
{ @ JsonKey ( name: " group-name " ) required this . groupName ,
@ JsonKey ( name: " proxy-name " ) required this . proxyName } ) ;
factory _ $ChangeProxyParamsImpl . fromJson ( Map < String , dynamic > json ) = >
_ $ $ChangeProxyParamsImplFromJson ( json ) ;
@ override
@ JsonKey ( name: " group-name " )
final String groupName ;
@ override
@ JsonKey ( name: " proxy-name " )
final String proxyName ;
@ override
String toString ( ) {
return ' ChangeProxyParams(groupName: $ groupName , proxyName: $ proxyName ) ' ;
}
@ override
bool operator = = ( Object other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
other is _ $ChangeProxyParamsImpl & &
( identical ( other . groupName , groupName ) | |
other . groupName = = groupName ) & &
( identical ( other . proxyName , proxyName ) | |
other . proxyName = = proxyName ) ) ;
}
@ JsonKey ( ignore: true )
@ override
int get hashCode = > Object . hash ( runtimeType , groupName , proxyName ) ;
@ JsonKey ( ignore: true )
@ override
@ pragma ( ' vm:prefer-inline ' )
_ $ $ChangeProxyParamsImplCopyWith < _ $ChangeProxyParamsImpl > get copyWith = >
__ $ $ChangeProxyParamsImplCopyWithImpl < _ $ChangeProxyParamsImpl > (
this , _ $identity ) ;
@ override
Map < String , dynamic > toJson ( ) {
return _ $ $ChangeProxyParamsImplToJson (
this ,
) ;
}
}
abstract class _ChangeProxyParams implements ChangeProxyParams {
const factory _ChangeProxyParams (
{ @ JsonKey ( name: " group-name " ) required final String groupName ,
@ JsonKey ( name: " proxy-name " ) required final String proxyName } ) =
_ $ChangeProxyParamsImpl ;
factory _ChangeProxyParams . fromJson ( Map < String , dynamic > json ) =
_ $ChangeProxyParamsImpl . fromJson ;
@ override
@ JsonKey ( name: " group-name " )
String get groupName ;
@ override
@ JsonKey ( name: " proxy-name " )
String get proxyName ;
@ override
@ JsonKey ( ignore: true )
_ $ $ChangeProxyParamsImplCopyWith < _ $ChangeProxyParamsImpl > get copyWith = >
throw _privateConstructorUsedError ;
}
2024-07-13 16:36:08 +08:00
AppMessage _ $AppMessageFromJson ( Map < String , dynamic > json ) {
return _AppMessage . fromJson ( json ) ;
2024-04-30 23:38:49 +08:00
}
/// @nodoc
2024-07-13 16:36:08 +08:00
mixin _ $AppMessage {
AppMessageType get type = > throw _privateConstructorUsedError ;
2024-04-30 23:38:49 +08:00
dynamic get data = > throw _privateConstructorUsedError ;
Map < String , dynamic > toJson ( ) = > throw _privateConstructorUsedError ;
@ JsonKey ( ignore: true )
2024-07-13 16:36:08 +08:00
$AppMessageCopyWith < AppMessage > get copyWith = >
throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $AppMessageCopyWith < $Res > {
factory $AppMessageCopyWith (
AppMessage value , $Res Function ( AppMessage ) then ) =
_ $AppMessageCopyWithImpl < $Res , AppMessage > ;
@ useResult
$Res call ( { AppMessageType type , dynamic data } ) ;
}
/// @nodoc
class _ $AppMessageCopyWithImpl < $Res , $Val extends AppMessage >
implements $AppMessageCopyWith < $Res > {
_ $AppMessageCopyWithImpl ( this . _value , this . _then ) ;
// ignore: unused_field
final $Val _value ;
// ignore: unused_field
final $Res Function ( $Val ) _then ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? type = null ,
Object ? data = freezed ,
} ) {
return _then ( _value . copyWith (
type: null = = type
? _value . type
: type // ignore: cast_nullable_to_non_nullable
as AppMessageType ,
data: freezed = = data
? _value . data
: data // ignore: cast_nullable_to_non_nullable
as dynamic ,
) as $Val ) ;
}
}
/// @nodoc
abstract class _ $ $AppMessageImplCopyWith < $Res >
implements $AppMessageCopyWith < $Res > {
factory _ $ $AppMessageImplCopyWith (
_ $AppMessageImpl value , $Res Function ( _ $AppMessageImpl ) then ) =
__ $ $AppMessageImplCopyWithImpl < $Res > ;
@ override
@ useResult
$Res call ( { AppMessageType type , dynamic data } ) ;
}
/// @nodoc
class __ $ $AppMessageImplCopyWithImpl < $Res >
extends _ $AppMessageCopyWithImpl < $Res , _ $AppMessageImpl >
implements _ $ $AppMessageImplCopyWith < $Res > {
__ $ $AppMessageImplCopyWithImpl (
_ $AppMessageImpl _value , $Res Function ( _ $AppMessageImpl ) _then )
: super ( _value , _then ) ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? type = null ,
Object ? data = freezed ,
} ) {
return _then ( _ $AppMessageImpl (
type: null = = type
? _value . type
: type // ignore: cast_nullable_to_non_nullable
as AppMessageType ,
data: freezed = = data
? _value . data
: data // ignore: cast_nullable_to_non_nullable
as dynamic ,
) ) ;
}
}
/// @nodoc
@ JsonSerializable ( )
class _ $AppMessageImpl implements _AppMessage {
const _ $AppMessageImpl ( { required this . type , this . data } ) ;
factory _ $AppMessageImpl . fromJson ( Map < String , dynamic > json ) = >
_ $ $AppMessageImplFromJson ( json ) ;
@ override
final AppMessageType type ;
@ override
final dynamic data ;
@ override
String toString ( ) {
return ' AppMessage(type: $ type , data: $ data ) ' ;
}
@ override
bool operator = = ( Object other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
other is _ $AppMessageImpl & &
( identical ( other . type , type ) | | other . type = = type ) & &
const DeepCollectionEquality ( ) . equals ( other . data , data ) ) ;
}
@ JsonKey ( ignore: true )
@ override
int get hashCode = >
Object . hash ( runtimeType , type , const DeepCollectionEquality ( ) . hash ( data ) ) ;
@ JsonKey ( ignore: true )
@ override
@ pragma ( ' vm:prefer-inline ' )
_ $ $AppMessageImplCopyWith < _ $AppMessageImpl > get copyWith = >
__ $ $AppMessageImplCopyWithImpl < _ $AppMessageImpl > ( this , _ $identity ) ;
@ override
Map < String , dynamic > toJson ( ) {
return _ $ $AppMessageImplToJson (
this ,
) ;
}
}
abstract class _AppMessage implements AppMessage {
const factory _AppMessage (
{ required final AppMessageType type ,
final dynamic data } ) = _ $AppMessageImpl ;
factory _AppMessage . fromJson ( Map < String , dynamic > json ) =
_ $AppMessageImpl . fromJson ;
@ override
AppMessageType get type ;
@ override
dynamic get data ;
@ override
@ JsonKey ( ignore: true )
_ $ $AppMessageImplCopyWith < _ $AppMessageImpl > get copyWith = >
throw _privateConstructorUsedError ;
}
ServiceMessage _ $ServiceMessageFromJson ( Map < String , dynamic > json ) {
return _ServiceMessage . fromJson ( json ) ;
}
/// @nodoc
mixin _ $ServiceMessage {
ServiceMessageType get type = > throw _privateConstructorUsedError ;
dynamic get data = > throw _privateConstructorUsedError ;
Map < String , dynamic > toJson ( ) = > throw _privateConstructorUsedError ;
@ JsonKey ( ignore: true )
$ServiceMessageCopyWith < ServiceMessage > get copyWith = >
throw _privateConstructorUsedError ;
2024-04-30 23:38:49 +08:00
}
/// @nodoc
2024-07-13 16:36:08 +08:00
abstract class $ServiceMessageCopyWith < $Res > {
factory $ServiceMessageCopyWith (
ServiceMessage value , $Res Function ( ServiceMessage ) then ) =
_ $ServiceMessageCopyWithImpl < $Res , ServiceMessage > ;
2024-04-30 23:38:49 +08:00
@ useResult
2024-07-13 16:36:08 +08:00
$Res call ( { ServiceMessageType type , dynamic data } ) ;
2024-04-30 23:38:49 +08:00
}
/// @nodoc
2024-07-13 16:36:08 +08:00
class _ $ServiceMessageCopyWithImpl < $Res , $Val extends ServiceMessage >
implements $ServiceMessageCopyWith < $Res > {
_ $ServiceMessageCopyWithImpl ( this . _value , this . _then ) ;
2024-04-30 23:38:49 +08:00
// ignore: unused_field
final $Val _value ;
// ignore: unused_field
final $Res Function ( $Val ) _then ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? type = null ,
Object ? data = freezed ,
} ) {
return _then ( _value . copyWith (
type: null = = type
? _value . type
: type // ignore: cast_nullable_to_non_nullable
2024-07-13 16:36:08 +08:00
as ServiceMessageType ,
2024-04-30 23:38:49 +08:00
data: freezed = = data
? _value . data
: data // ignore: cast_nullable_to_non_nullable
as dynamic ,
) as $Val ) ;
}
}
/// @nodoc
2024-07-13 16:36:08 +08:00
abstract class _ $ $ServiceMessageImplCopyWith < $Res >
implements $ServiceMessageCopyWith < $Res > {
factory _ $ $ServiceMessageImplCopyWith ( _ $ServiceMessageImpl value ,
$Res Function ( _ $ServiceMessageImpl ) then ) =
__ $ $ServiceMessageImplCopyWithImpl < $Res > ;
2024-04-30 23:38:49 +08:00
@ override
@ useResult
2024-07-13 16:36:08 +08:00
$Res call ( { ServiceMessageType type , dynamic data } ) ;
2024-04-30 23:38:49 +08:00
}
/// @nodoc
2024-07-13 16:36:08 +08:00
class __ $ $ServiceMessageImplCopyWithImpl < $Res >
extends _ $ServiceMessageCopyWithImpl < $Res , _ $ServiceMessageImpl >
implements _ $ $ServiceMessageImplCopyWith < $Res > {
__ $ $ServiceMessageImplCopyWithImpl (
_ $ServiceMessageImpl _value , $Res Function ( _ $ServiceMessageImpl ) _then )
2024-04-30 23:38:49 +08:00
: super ( _value , _then ) ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? type = null ,
Object ? data = freezed ,
} ) {
2024-07-13 16:36:08 +08:00
return _then ( _ $ServiceMessageImpl (
2024-04-30 23:38:49 +08:00
type: null = = type
? _value . type
: type // ignore: cast_nullable_to_non_nullable
2024-07-13 16:36:08 +08:00
as ServiceMessageType ,
2024-04-30 23:38:49 +08:00
data: freezed = = data
? _value . data
: data // ignore: cast_nullable_to_non_nullable
as dynamic ,
) ) ;
}
}
/// @nodoc
@ JsonSerializable ( )
2024-07-13 16:36:08 +08:00
class _ $ServiceMessageImpl implements _ServiceMessage {
const _ $ServiceMessageImpl ( { required this . type , this . data } ) ;
2024-04-30 23:38:49 +08:00
2024-07-13 16:36:08 +08:00
factory _ $ServiceMessageImpl . fromJson ( Map < String , dynamic > json ) = >
_ $ $ServiceMessageImplFromJson ( json ) ;
2024-04-30 23:38:49 +08:00
@ override
2024-07-13 16:36:08 +08:00
final ServiceMessageType type ;
2024-04-30 23:38:49 +08:00
@ override
final dynamic data ;
@ override
String toString ( ) {
2024-07-13 16:36:08 +08:00
return ' ServiceMessage(type: $ type , data: $ data ) ' ;
2024-04-30 23:38:49 +08:00
}
@ override
bool operator = = ( Object other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
2024-07-13 16:36:08 +08:00
other is _ $ServiceMessageImpl & &
2024-04-30 23:38:49 +08:00
( identical ( other . type , type ) | | other . type = = type ) & &
const DeepCollectionEquality ( ) . equals ( other . data , data ) ) ;
}
@ JsonKey ( ignore: true )
@ override
int get hashCode = >
Object . hash ( runtimeType , type , const DeepCollectionEquality ( ) . hash ( data ) ) ;
@ JsonKey ( ignore: true )
@ override
@ pragma ( ' vm:prefer-inline ' )
2024-07-13 16:36:08 +08:00
_ $ $ServiceMessageImplCopyWith < _ $ServiceMessageImpl > get copyWith = >
__ $ $ServiceMessageImplCopyWithImpl < _ $ServiceMessageImpl > (
this , _ $identity ) ;
2024-04-30 23:38:49 +08:00
@ override
Map < String , dynamic > toJson ( ) {
2024-07-13 16:36:08 +08:00
return _ $ $ServiceMessageImplToJson (
2024-04-30 23:38:49 +08:00
this ,
) ;
}
}
2024-07-13 16:36:08 +08:00
abstract class _ServiceMessage implements ServiceMessage {
const factory _ServiceMessage (
{ required final ServiceMessageType type ,
final dynamic data } ) = _ $ServiceMessageImpl ;
2024-04-30 23:38:49 +08:00
2024-07-13 16:36:08 +08:00
factory _ServiceMessage . fromJson ( Map < String , dynamic > json ) =
_ $ServiceMessageImpl . fromJson ;
2024-04-30 23:38:49 +08:00
@ override
2024-07-13 16:36:08 +08:00
ServiceMessageType get type ;
2024-04-30 23:38:49 +08:00
@ override
dynamic get data ;
@ override
@ JsonKey ( ignore: true )
2024-07-13 16:36:08 +08:00
_ $ $ServiceMessageImplCopyWith < _ $ServiceMessageImpl > get copyWith = >
2024-04-30 23:38:49 +08:00
throw _privateConstructorUsedError ;
}
Delay _ $DelayFromJson ( Map < String , dynamic > json ) {
return _Delay . fromJson ( json ) ;
}
/// @nodoc
mixin _ $Delay {
String get name = > throw _privateConstructorUsedError ;
int ? get value = > throw _privateConstructorUsedError ;
Map < String , dynamic > toJson ( ) = > throw _privateConstructorUsedError ;
@ JsonKey ( ignore: true )
$DelayCopyWith < Delay > get copyWith = > throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $DelayCopyWith < $Res > {
factory $DelayCopyWith ( Delay value , $Res Function ( Delay ) then ) =
_ $DelayCopyWithImpl < $Res , Delay > ;
@ useResult
$Res call ( { String name , int ? value } ) ;
}
/// @nodoc
class _ $DelayCopyWithImpl < $Res , $Val extends Delay >
implements $DelayCopyWith < $Res > {
_ $DelayCopyWithImpl ( this . _value , this . _then ) ;
// ignore: unused_field
final $Val _value ;
// ignore: unused_field
final $Res Function ( $Val ) _then ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? name = null ,
Object ? value = freezed ,
} ) {
return _then ( _value . copyWith (
name: null = = name
? _value . name
: name // ignore: cast_nullable_to_non_nullable
as String ,
value: freezed = = value
? _value . value
: value // ignore: cast_nullable_to_non_nullable
as int ? ,
) as $Val ) ;
}
}
/// @nodoc
abstract class _ $ $DelayImplCopyWith < $Res > implements $DelayCopyWith < $Res > {
factory _ $ $DelayImplCopyWith (
_ $DelayImpl value , $Res Function ( _ $DelayImpl ) then ) =
__ $ $DelayImplCopyWithImpl < $Res > ;
@ override
@ useResult
$Res call ( { String name , int ? value } ) ;
}
/// @nodoc
class __ $ $DelayImplCopyWithImpl < $Res >
extends _ $DelayCopyWithImpl < $Res , _ $DelayImpl >
implements _ $ $DelayImplCopyWith < $Res > {
__ $ $DelayImplCopyWithImpl (
_ $DelayImpl _value , $Res Function ( _ $DelayImpl ) _then )
: super ( _value , _then ) ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? name = null ,
Object ? value = freezed ,
} ) {
return _then ( _ $DelayImpl (
name: null = = name
? _value . name
: name // ignore: cast_nullable_to_non_nullable
as String ,
value: freezed = = value
? _value . value
: value // ignore: cast_nullable_to_non_nullable
as int ? ,
) ) ;
}
}
/// @nodoc
@ JsonSerializable ( )
class _ $DelayImpl implements _Delay {
const _ $DelayImpl ( { required this . name , this . value } ) ;
factory _ $DelayImpl . fromJson ( Map < String , dynamic > json ) = >
_ $ $DelayImplFromJson ( json ) ;
@ override
final String name ;
@ override
final int ? value ;
@ override
String toString ( ) {
return ' Delay(name: $ name , value: $ value ) ' ;
}
@ override
bool operator = = ( Object other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
other is _ $DelayImpl & &
( identical ( other . name , name ) | | other . name = = name ) & &
( identical ( other . value , value ) | | other . value = = value ) ) ;
}
@ JsonKey ( ignore: true )
@ override
int get hashCode = > Object . hash ( runtimeType , name , value ) ;
@ JsonKey ( ignore: true )
@ override
@ pragma ( ' vm:prefer-inline ' )
_ $ $DelayImplCopyWith < _ $DelayImpl > get copyWith = >
__ $ $DelayImplCopyWithImpl < _ $DelayImpl > ( this , _ $identity ) ;
@ override
Map < String , dynamic > toJson ( ) {
return _ $ $DelayImplToJson (
this ,
) ;
}
}
abstract class _Delay implements Delay {
const factory _Delay ( { required final String name , final int ? value } ) =
_ $DelayImpl ;
factory _Delay . fromJson ( Map < String , dynamic > json ) = _ $DelayImpl . fromJson ;
@ override
String get name ;
@ override
int ? get value ;
@ override
@ JsonKey ( ignore: true )
_ $ $DelayImplCopyWith < _ $DelayImpl > get copyWith = >
throw _privateConstructorUsedError ;
}
2024-05-05 21:40:12 +08:00
Now _ $NowFromJson ( Map < String , dynamic > json ) {
return _Now . fromJson ( json ) ;
}
/// @nodoc
mixin _ $Now {
String get name = > throw _privateConstructorUsedError ;
String get value = > throw _privateConstructorUsedError ;
Map < String , dynamic > toJson ( ) = > throw _privateConstructorUsedError ;
@ JsonKey ( ignore: true )
$NowCopyWith < Now > get copyWith = > throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $NowCopyWith < $Res > {
factory $NowCopyWith ( Now value , $Res Function ( Now ) then ) =
_ $NowCopyWithImpl < $Res , Now > ;
@ useResult
$Res call ( { String name , String value } ) ;
}
/// @nodoc
class _ $NowCopyWithImpl < $Res , $Val extends Now > implements $NowCopyWith < $Res > {
_ $NowCopyWithImpl ( this . _value , this . _then ) ;
// ignore: unused_field
final $Val _value ;
// ignore: unused_field
final $Res Function ( $Val ) _then ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? name = null ,
Object ? value = null ,
} ) {
return _then ( _value . copyWith (
name: null = = name
? _value . name
: name // ignore: cast_nullable_to_non_nullable
as String ,
value: null = = value
? _value . value
: value // ignore: cast_nullable_to_non_nullable
as String ,
) as $Val ) ;
}
}
/// @nodoc
abstract class _ $ $NowImplCopyWith < $Res > implements $NowCopyWith < $Res > {
factory _ $ $NowImplCopyWith ( _ $NowImpl value , $Res Function ( _ $NowImpl ) then ) =
__ $ $NowImplCopyWithImpl < $Res > ;
@ override
@ useResult
$Res call ( { String name , String value } ) ;
}
/// @nodoc
class __ $ $NowImplCopyWithImpl < $Res > extends _ $NowCopyWithImpl < $Res , _ $NowImpl >
implements _ $ $NowImplCopyWith < $Res > {
__ $ $NowImplCopyWithImpl ( _ $NowImpl _value , $Res Function ( _ $NowImpl ) _then )
: super ( _value , _then ) ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? name = null ,
Object ? value = null ,
} ) {
return _then ( _ $NowImpl (
name: null = = name
? _value . name
: name // ignore: cast_nullable_to_non_nullable
as String ,
value: null = = value
? _value . value
: value // ignore: cast_nullable_to_non_nullable
as String ,
) ) ;
}
}
/// @nodoc
@ JsonSerializable ( )
class _ $NowImpl implements _Now {
const _ $NowImpl ( { required this . name , required this . value } ) ;
factory _ $NowImpl . fromJson ( Map < String , dynamic > json ) = >
_ $ $NowImplFromJson ( json ) ;
@ override
final String name ;
@ override
final String value ;
@ override
String toString ( ) {
return ' Now(name: $ name , value: $ value ) ' ;
}
@ override
bool operator = = ( Object other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
other is _ $NowImpl & &
( identical ( other . name , name ) | | other . name = = name ) & &
( identical ( other . value , value ) | | other . value = = value ) ) ;
}
@ JsonKey ( ignore: true )
@ override
int get hashCode = > Object . hash ( runtimeType , name , value ) ;
@ JsonKey ( ignore: true )
@ override
@ pragma ( ' vm:prefer-inline ' )
_ $ $NowImplCopyWith < _ $NowImpl > get copyWith = >
__ $ $NowImplCopyWithImpl < _ $NowImpl > ( this , _ $identity ) ;
@ override
Map < String , dynamic > toJson ( ) {
return _ $ $NowImplToJson (
this ,
) ;
}
}
abstract class _Now implements Now {
const factory _Now (
{ required final String name , required final String value } ) = _ $NowImpl ;
factory _Now . fromJson ( Map < String , dynamic > json ) = _ $NowImpl . fromJson ;
@ override
String get name ;
@ override
String get value ;
@ override
@ JsonKey ( ignore: true )
_ $ $NowImplCopyWith < _ $NowImpl > get copyWith = >
throw _privateConstructorUsedError ;
}
2024-04-30 23:38:49 +08:00
Process _ $ProcessFromJson ( Map < String , dynamic > json ) {
return _Process . fromJson ( json ) ;
}
/// @nodoc
mixin _ $Process {
2024-06-13 23:43:42 +08:00
int get id = > throw _privateConstructorUsedError ;
Metadata get metadata = > throw _privateConstructorUsedError ;
2024-04-30 23:38:49 +08:00
Map < String , dynamic > toJson ( ) = > throw _privateConstructorUsedError ;
@ JsonKey ( ignore: true )
$ProcessCopyWith < Process > get copyWith = > throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $ProcessCopyWith < $Res > {
factory $ProcessCopyWith ( Process value , $Res Function ( Process ) then ) =
_ $ProcessCopyWithImpl < $Res , Process > ;
@ useResult
2024-06-13 23:43:42 +08:00
$Res call ( { int id , Metadata metadata } ) ;
$MetadataCopyWith < $Res > get metadata ;
2024-04-30 23:38:49 +08:00
}
/// @nodoc
class _ $ProcessCopyWithImpl < $Res , $Val extends Process >
implements $ProcessCopyWith < $Res > {
_ $ProcessCopyWithImpl ( this . _value , this . _then ) ;
// ignore: unused_field
final $Val _value ;
// ignore: unused_field
final $Res Function ( $Val ) _then ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
2024-06-13 23:43:42 +08:00
Object ? id = null ,
Object ? metadata = null ,
2024-04-30 23:38:49 +08:00
} ) {
return _then ( _value . copyWith (
2024-06-13 23:43:42 +08:00
id: null = = id
? _value . id
: id // ignore: cast_nullable_to_non_nullable
2024-04-30 23:38:49 +08:00
as int ,
2024-06-13 23:43:42 +08:00
metadata: null = = metadata
? _value . metadata
: metadata // ignore: cast_nullable_to_non_nullable
as Metadata ,
2024-04-30 23:38:49 +08:00
) as $Val ) ;
}
2024-06-13 23:43:42 +08:00
@ override
@ pragma ( ' vm:prefer-inline ' )
$MetadataCopyWith < $Res > get metadata {
return $MetadataCopyWith < $Res > ( _value . metadata , ( value ) {
return _then ( _value . copyWith ( metadata: value ) as $Val ) ;
} ) ;
}
2024-04-30 23:38:49 +08:00
}
/// @nodoc
abstract class _ $ $ProcessImplCopyWith < $Res > implements $ProcessCopyWith < $Res > {
factory _ $ $ProcessImplCopyWith (
_ $ProcessImpl value , $Res Function ( _ $ProcessImpl ) then ) =
__ $ $ProcessImplCopyWithImpl < $Res > ;
@ override
@ useResult
2024-06-13 23:43:42 +08:00
$Res call ( { int id , Metadata metadata } ) ;
@ override
$MetadataCopyWith < $Res > get metadata ;
2024-04-30 23:38:49 +08:00
}
/// @nodoc
class __ $ $ProcessImplCopyWithImpl < $Res >
extends _ $ProcessCopyWithImpl < $Res , _ $ProcessImpl >
implements _ $ $ProcessImplCopyWith < $Res > {
__ $ $ProcessImplCopyWithImpl (
_ $ProcessImpl _value , $Res Function ( _ $ProcessImpl ) _then )
: super ( _value , _then ) ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
2024-06-13 23:43:42 +08:00
Object ? id = null ,
Object ? metadata = null ,
2024-04-30 23:38:49 +08:00
} ) {
return _then ( _ $ProcessImpl (
2024-06-13 23:43:42 +08:00
id: null = = id
? _value . id
: id // ignore: cast_nullable_to_non_nullable
2024-04-30 23:38:49 +08:00
as int ,
2024-06-13 23:43:42 +08:00
metadata: null = = metadata
? _value . metadata
: metadata // ignore: cast_nullable_to_non_nullable
as Metadata ,
2024-04-30 23:38:49 +08:00
) ) ;
}
}
/// @nodoc
@ JsonSerializable ( )
class _ $ProcessImpl implements _Process {
2024-06-13 23:43:42 +08:00
const _ $ProcessImpl ( { required this . id , required this . metadata } ) ;
2024-04-30 23:38:49 +08:00
factory _ $ProcessImpl . fromJson ( Map < String , dynamic > json ) = >
_ $ $ProcessImplFromJson ( json ) ;
@ override
2024-06-13 23:43:42 +08:00
final int id ;
2024-04-30 23:38:49 +08:00
@ override
2024-06-13 23:43:42 +08:00
final Metadata metadata ;
2024-04-30 23:38:49 +08:00
@ override
String toString ( ) {
2024-06-13 23:43:42 +08:00
return ' Process(id: $ id , metadata: $ metadata ) ' ;
2024-04-30 23:38:49 +08:00
}
@ override
bool operator = = ( Object other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
other is _ $ProcessImpl & &
2024-06-13 23:43:42 +08:00
( identical ( other . id , id ) | | other . id = = id ) & &
( identical ( other . metadata , metadata ) | |
other . metadata = = metadata ) ) ;
2024-04-30 23:38:49 +08:00
}
@ JsonKey ( ignore: true )
@ override
2024-06-13 23:43:42 +08:00
int get hashCode = > Object . hash ( runtimeType , id , metadata ) ;
2024-04-30 23:38:49 +08:00
@ JsonKey ( ignore: true )
@ override
@ pragma ( ' vm:prefer-inline ' )
_ $ $ProcessImplCopyWith < _ $ProcessImpl > get copyWith = >
__ $ $ProcessImplCopyWithImpl < _ $ProcessImpl > ( this , _ $identity ) ;
@ override
Map < String , dynamic > toJson ( ) {
return _ $ $ProcessImplToJson (
this ,
) ;
}
}
abstract class _Process implements Process {
const factory _Process (
2024-06-13 23:43:42 +08:00
{ required final int id ,
required final Metadata metadata } ) = _ $ProcessImpl ;
2024-04-30 23:38:49 +08:00
factory _Process . fromJson ( Map < String , dynamic > json ) = _ $ProcessImpl . fromJson ;
@ override
2024-06-13 23:43:42 +08:00
int get id ;
@ override
Metadata get metadata ;
@ override
@ JsonKey ( ignore: true )
_ $ $ProcessImplCopyWith < _ $ProcessImpl > get copyWith = >
throw _privateConstructorUsedError ;
}
2024-07-02 08:08:31 +08:00
Fd _ $FdFromJson ( Map < String , dynamic > json ) {
return _Fd . fromJson ( json ) ;
}
/// @nodoc
mixin _ $Fd {
int get id = > throw _privateConstructorUsedError ;
int get value = > throw _privateConstructorUsedError ;
Map < String , dynamic > toJson ( ) = > throw _privateConstructorUsedError ;
@ JsonKey ( ignore: true )
$FdCopyWith < Fd > get copyWith = > throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $FdCopyWith < $Res > {
factory $FdCopyWith ( Fd value , $Res Function ( Fd ) then ) =
_ $FdCopyWithImpl < $Res , Fd > ;
@ useResult
$Res call ( { int id , int value } ) ;
}
/// @nodoc
class _ $FdCopyWithImpl < $Res , $Val extends Fd > implements $FdCopyWith < $Res > {
_ $FdCopyWithImpl ( this . _value , this . _then ) ;
// ignore: unused_field
final $Val _value ;
// ignore: unused_field
final $Res Function ( $Val ) _then ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? id = null ,
Object ? value = null ,
} ) {
return _then ( _value . copyWith (
id: null = = id
? _value . id
: id // ignore: cast_nullable_to_non_nullable
as int ,
value: null = = value
? _value . value
: value // ignore: cast_nullable_to_non_nullable
as int ,
) as $Val ) ;
}
}
/// @nodoc
abstract class _ $ $FdImplCopyWith < $Res > implements $FdCopyWith < $Res > {
factory _ $ $FdImplCopyWith ( _ $FdImpl value , $Res Function ( _ $FdImpl ) then ) =
__ $ $FdImplCopyWithImpl < $Res > ;
@ override
@ useResult
$Res call ( { int id , int value } ) ;
}
/// @nodoc
class __ $ $FdImplCopyWithImpl < $Res > extends _ $FdCopyWithImpl < $Res , _ $FdImpl >
implements _ $ $FdImplCopyWith < $Res > {
__ $ $FdImplCopyWithImpl ( _ $FdImpl _value , $Res Function ( _ $FdImpl ) _then )
: super ( _value , _then ) ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? id = null ,
Object ? value = null ,
} ) {
return _then ( _ $FdImpl (
id: null = = id
? _value . id
: id // ignore: cast_nullable_to_non_nullable
as int ,
value: null = = value
? _value . value
: value // ignore: cast_nullable_to_non_nullable
as int ,
) ) ;
}
}
/// @nodoc
@ JsonSerializable ( )
class _ $FdImpl implements _Fd {
const _ $FdImpl ( { required this . id , required this . value } ) ;
factory _ $FdImpl . fromJson ( Map < String , dynamic > json ) = >
_ $ $FdImplFromJson ( json ) ;
@ override
final int id ;
@ override
final int value ;
@ override
String toString ( ) {
return ' Fd(id: $ id , value: $ value ) ' ;
}
@ override
bool operator = = ( Object other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
other is _ $FdImpl & &
( identical ( other . id , id ) | | other . id = = id ) & &
( identical ( other . value , value ) | | other . value = = value ) ) ;
}
@ JsonKey ( ignore: true )
@ override
int get hashCode = > Object . hash ( runtimeType , id , value ) ;
@ JsonKey ( ignore: true )
@ override
@ pragma ( ' vm:prefer-inline ' )
_ $ $FdImplCopyWith < _ $FdImpl > get copyWith = >
__ $ $FdImplCopyWithImpl < _ $FdImpl > ( this , _ $identity ) ;
@ override
Map < String , dynamic > toJson ( ) {
return _ $ $FdImplToJson (
this ,
) ;
}
}
abstract class _Fd implements Fd {
const factory _Fd ( { required final int id , required final int value } ) =
_ $FdImpl ;
factory _Fd . fromJson ( Map < String , dynamic > json ) = _ $FdImpl . fromJson ;
@ override
int get id ;
@ override
int get value ;
@ override
@ JsonKey ( ignore: true )
_ $ $FdImplCopyWith < _ $FdImpl > get copyWith = >
throw _privateConstructorUsedError ;
}
2024-06-13 23:43:42 +08:00
ProcessMapItem _ $ProcessMapItemFromJson ( Map < String , dynamic > json ) {
return _ProcessMapItem . fromJson ( json ) ;
}
/// @nodoc
mixin _ $ProcessMapItem {
int get id = > throw _privateConstructorUsedError ;
2024-06-16 19:04:33 +08:00
String get value = > throw _privateConstructorUsedError ;
2024-06-13 23:43:42 +08:00
Map < String , dynamic > toJson ( ) = > throw _privateConstructorUsedError ;
@ JsonKey ( ignore: true )
$ProcessMapItemCopyWith < ProcessMapItem > get copyWith = >
throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $ProcessMapItemCopyWith < $Res > {
factory $ProcessMapItemCopyWith (
ProcessMapItem value , $Res Function ( ProcessMapItem ) then ) =
_ $ProcessMapItemCopyWithImpl < $Res , ProcessMapItem > ;
@ useResult
2024-06-16 19:04:33 +08:00
$Res call ( { int id , String value } ) ;
2024-06-13 23:43:42 +08:00
}
/// @nodoc
class _ $ProcessMapItemCopyWithImpl < $Res , $Val extends ProcessMapItem >
implements $ProcessMapItemCopyWith < $Res > {
_ $ProcessMapItemCopyWithImpl ( this . _value , this . _then ) ;
// ignore: unused_field
final $Val _value ;
// ignore: unused_field
final $Res Function ( $Val ) _then ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? id = null ,
2024-06-16 19:04:33 +08:00
Object ? value = null ,
2024-06-13 23:43:42 +08:00
} ) {
return _then ( _value . copyWith (
id: null = = id
? _value . id
: id // ignore: cast_nullable_to_non_nullable
as int ,
2024-06-16 19:04:33 +08:00
value: null = = value
2024-06-13 23:43:42 +08:00
? _value . value
: value // ignore: cast_nullable_to_non_nullable
2024-06-16 19:04:33 +08:00
as String ,
2024-06-13 23:43:42 +08:00
) as $Val ) ;
}
}
/// @nodoc
abstract class _ $ $ProcessMapItemImplCopyWith < $Res >
implements $ProcessMapItemCopyWith < $Res > {
factory _ $ $ProcessMapItemImplCopyWith ( _ $ProcessMapItemImpl value ,
$Res Function ( _ $ProcessMapItemImpl ) then ) =
__ $ $ProcessMapItemImplCopyWithImpl < $Res > ;
@ override
@ useResult
2024-06-16 19:04:33 +08:00
$Res call ( { int id , String value } ) ;
2024-06-13 23:43:42 +08:00
}
/// @nodoc
class __ $ $ProcessMapItemImplCopyWithImpl < $Res >
extends _ $ProcessMapItemCopyWithImpl < $Res , _ $ProcessMapItemImpl >
implements _ $ $ProcessMapItemImplCopyWith < $Res > {
__ $ $ProcessMapItemImplCopyWithImpl (
_ $ProcessMapItemImpl _value , $Res Function ( _ $ProcessMapItemImpl ) _then )
: super ( _value , _then ) ;
@ pragma ( ' vm:prefer-inline ' )
2024-04-30 23:38:49 +08:00
@ override
2024-06-13 23:43:42 +08:00
$Res call ( {
Object ? id = null ,
2024-06-16 19:04:33 +08:00
Object ? value = null ,
2024-06-13 23:43:42 +08:00
} ) {
return _then ( _ $ProcessMapItemImpl (
id: null = = id
? _value . id
: id // ignore: cast_nullable_to_non_nullable
as int ,
2024-06-16 19:04:33 +08:00
value: null = = value
2024-06-13 23:43:42 +08:00
? _value . value
: value // ignore: cast_nullable_to_non_nullable
2024-06-16 19:04:33 +08:00
as String ,
2024-06-13 23:43:42 +08:00
) ) ;
}
}
/// @nodoc
@ JsonSerializable ( )
class _ $ProcessMapItemImpl implements _ProcessMapItem {
2024-06-16 19:04:33 +08:00
const _ $ProcessMapItemImpl ( { required this . id , required this . value } ) ;
2024-06-13 23:43:42 +08:00
factory _ $ProcessMapItemImpl . fromJson ( Map < String , dynamic > json ) = >
_ $ $ProcessMapItemImplFromJson ( json ) ;
2024-04-30 23:38:49 +08:00
@ override
2024-06-13 23:43:42 +08:00
final int id ;
2024-04-30 23:38:49 +08:00
@ override
2024-06-16 19:04:33 +08:00
final String value ;
2024-06-13 23:43:42 +08:00
2024-04-30 23:38:49 +08:00
@ override
2024-06-13 23:43:42 +08:00
String toString ( ) {
return ' ProcessMapItem(id: $ id , value: $ value ) ' ;
}
@ override
bool operator = = ( Object other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
other is _ $ProcessMapItemImpl & &
( identical ( other . id , id ) | | other . id = = id ) & &
( identical ( other . value , value ) | | other . value = = value ) ) ;
}
2024-04-30 23:38:49 +08:00
@ JsonKey ( ignore: true )
2024-06-13 23:43:42 +08:00
@ override
int get hashCode = > Object . hash ( runtimeType , id , value ) ;
@ JsonKey ( ignore: true )
@ override
@ pragma ( ' vm:prefer-inline ' )
_ $ $ProcessMapItemImplCopyWith < _ $ProcessMapItemImpl > get copyWith = >
__ $ $ProcessMapItemImplCopyWithImpl < _ $ProcessMapItemImpl > (
this , _ $identity ) ;
@ override
Map < String , dynamic > toJson ( ) {
return _ $ $ProcessMapItemImplToJson (
this ,
) ;
}
}
abstract class _ProcessMapItem implements ProcessMapItem {
2024-06-16 19:04:33 +08:00
const factory _ProcessMapItem (
{ required final int id ,
required final String value } ) = _ $ProcessMapItemImpl ;
2024-06-13 23:43:42 +08:00
factory _ProcessMapItem . fromJson ( Map < String , dynamic > json ) =
_ $ProcessMapItemImpl . fromJson ;
@ override
int get id ;
@ override
2024-06-16 19:04:33 +08:00
String get value ;
2024-06-13 23:43:42 +08:00
@ override
@ JsonKey ( ignore: true )
_ $ $ProcessMapItemImplCopyWith < _ $ProcessMapItemImpl > get copyWith = >
2024-04-30 23:38:49 +08:00
throw _privateConstructorUsedError ;
}
2024-06-03 18:02:05 +08:00
ExternalProvider _ $ExternalProviderFromJson ( Map < String , dynamic > json ) {
return _ExternalProvider . fromJson ( json ) ;
}
/// @nodoc
mixin _ $ExternalProvider {
String get name = > throw _privateConstructorUsedError ;
String get type = > throw _privateConstructorUsedError ;
2024-08-04 08:21:14 +08:00
String get path = > throw _privateConstructorUsedError ;
int get count = > throw _privateConstructorUsedError ;
bool get isUpdating = > throw _privateConstructorUsedError ;
2024-06-03 18:02:05 +08:00
@ JsonKey ( name: " vehicle-type " )
String get vehicleType = > throw _privateConstructorUsedError ;
@ JsonKey ( name: " update-at " )
DateTime get updateAt = > throw _privateConstructorUsedError ;
Map < String , dynamic > toJson ( ) = > throw _privateConstructorUsedError ;
@ JsonKey ( ignore: true )
$ExternalProviderCopyWith < ExternalProvider > get copyWith = >
throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $ExternalProviderCopyWith < $Res > {
factory $ExternalProviderCopyWith (
ExternalProvider value , $Res Function ( ExternalProvider ) then ) =
_ $ExternalProviderCopyWithImpl < $Res , ExternalProvider > ;
@ useResult
$Res call (
{ String name ,
String type ,
2024-08-04 08:21:14 +08:00
String path ,
int count ,
bool isUpdating ,
2024-06-03 18:02:05 +08:00
@ JsonKey ( name: " vehicle-type " ) String vehicleType ,
@ JsonKey ( name: " update-at " ) DateTime updateAt } ) ;
}
/// @nodoc
class _ $ExternalProviderCopyWithImpl < $Res , $Val extends ExternalProvider >
implements $ExternalProviderCopyWith < $Res > {
_ $ExternalProviderCopyWithImpl ( this . _value , this . _then ) ;
// ignore: unused_field
final $Val _value ;
// ignore: unused_field
final $Res Function ( $Val ) _then ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? name = null ,
Object ? type = null ,
2024-08-04 08:21:14 +08:00
Object ? path = null ,
Object ? count = null ,
Object ? isUpdating = null ,
2024-06-03 18:02:05 +08:00
Object ? vehicleType = null ,
Object ? updateAt = null ,
} ) {
return _then ( _value . copyWith (
name: null = = name
? _value . name
: name // ignore: cast_nullable_to_non_nullable
as String ,
type: null = = type
? _value . type
: type // ignore: cast_nullable_to_non_nullable
as String ,
2024-08-04 08:21:14 +08:00
path: null = = path
? _value . path
: path // ignore: cast_nullable_to_non_nullable
as String ,
count: null = = count
? _value . count
: count // ignore: cast_nullable_to_non_nullable
as int ,
isUpdating: null = = isUpdating
? _value . isUpdating
: isUpdating // ignore: cast_nullable_to_non_nullable
as bool ,
2024-06-03 18:02:05 +08:00
vehicleType: null = = vehicleType
? _value . vehicleType
: vehicleType // ignore: cast_nullable_to_non_nullable
as String ,
updateAt: null = = updateAt
? _value . updateAt
: updateAt // ignore: cast_nullable_to_non_nullable
as DateTime ,
) as $Val ) ;
}
}
/// @nodoc
abstract class _ $ $ExternalProviderImplCopyWith < $Res >
implements $ExternalProviderCopyWith < $Res > {
factory _ $ $ExternalProviderImplCopyWith ( _ $ExternalProviderImpl value ,
$Res Function ( _ $ExternalProviderImpl ) then ) =
__ $ $ExternalProviderImplCopyWithImpl < $Res > ;
@ override
@ useResult
$Res call (
{ String name ,
String type ,
2024-08-04 08:21:14 +08:00
String path ,
int count ,
bool isUpdating ,
2024-06-03 18:02:05 +08:00
@ JsonKey ( name: " vehicle-type " ) String vehicleType ,
@ JsonKey ( name: " update-at " ) DateTime updateAt } ) ;
}
/// @nodoc
class __ $ $ExternalProviderImplCopyWithImpl < $Res >
extends _ $ExternalProviderCopyWithImpl < $Res , _ $ExternalProviderImpl >
implements _ $ $ExternalProviderImplCopyWith < $Res > {
__ $ $ExternalProviderImplCopyWithImpl ( _ $ExternalProviderImpl _value ,
$Res Function ( _ $ExternalProviderImpl ) _then )
: super ( _value , _then ) ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? name = null ,
Object ? type = null ,
2024-08-04 08:21:14 +08:00
Object ? path = null ,
Object ? count = null ,
Object ? isUpdating = null ,
2024-06-03 18:02:05 +08:00
Object ? vehicleType = null ,
Object ? updateAt = null ,
} ) {
return _then ( _ $ExternalProviderImpl (
name: null = = name
? _value . name
: name // ignore: cast_nullable_to_non_nullable
as String ,
type: null = = type
? _value . type
: type // ignore: cast_nullable_to_non_nullable
as String ,
2024-08-04 08:21:14 +08:00
path: null = = path
? _value . path
: path // ignore: cast_nullable_to_non_nullable
as String ,
count: null = = count
? _value . count
: count // ignore: cast_nullable_to_non_nullable
as int ,
isUpdating: null = = isUpdating
? _value . isUpdating
: isUpdating // ignore: cast_nullable_to_non_nullable
as bool ,
2024-06-03 18:02:05 +08:00
vehicleType: null = = vehicleType
? _value . vehicleType
: vehicleType // ignore: cast_nullable_to_non_nullable
as String ,
updateAt: null = = updateAt
? _value . updateAt
: updateAt // ignore: cast_nullable_to_non_nullable
as DateTime ,
) ) ;
}
}
/// @nodoc
@ JsonSerializable ( )
class _ $ExternalProviderImpl implements _ExternalProvider {
const _ $ExternalProviderImpl (
{ required this . name ,
required this . type ,
2024-08-04 08:21:14 +08:00
required this . path ,
required this . count ,
this . isUpdating = false ,
2024-06-03 18:02:05 +08:00
@ JsonKey ( name: " vehicle-type " ) required this . vehicleType ,
@ JsonKey ( name: " update-at " ) required this . updateAt } ) ;
factory _ $ExternalProviderImpl . fromJson ( Map < String , dynamic > json ) = >
_ $ $ExternalProviderImplFromJson ( json ) ;
@ override
final String name ;
@ override
final String type ;
@ override
2024-08-04 08:21:14 +08:00
final String path ;
@ override
final int count ;
@ override
@ JsonKey ( )
final bool isUpdating ;
@ override
2024-06-03 18:02:05 +08:00
@ JsonKey ( name: " vehicle-type " )
final String vehicleType ;
@ override
@ JsonKey ( name: " update-at " )
final DateTime updateAt ;
@ override
String toString ( ) {
2024-08-04 08:21:14 +08:00
return ' ExternalProvider(name: $ name , type: $ type , path: $ path , count: $ count , isUpdating: $ isUpdating , vehicleType: $ vehicleType , updateAt: $ updateAt ) ' ;
2024-06-03 18:02:05 +08:00
}
@ override
bool operator = = ( Object other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
other is _ $ExternalProviderImpl & &
( identical ( other . name , name ) | | other . name = = name ) & &
( identical ( other . type , type ) | | other . type = = type ) & &
2024-08-04 08:21:14 +08:00
( identical ( other . path , path ) | | other . path = = path ) & &
( identical ( other . count , count ) | | other . count = = count ) & &
( identical ( other . isUpdating , isUpdating ) | |
other . isUpdating = = isUpdating ) & &
2024-06-03 18:02:05 +08:00
( identical ( other . vehicleType , vehicleType ) | |
other . vehicleType = = vehicleType ) & &
( identical ( other . updateAt , updateAt ) | |
other . updateAt = = updateAt ) ) ;
}
@ JsonKey ( ignore: true )
@ override
2024-08-04 08:21:14 +08:00
int get hashCode = > Object . hash (
runtimeType , name , type , path , count , isUpdating , vehicleType , updateAt ) ;
2024-06-03 18:02:05 +08:00
@ JsonKey ( ignore: true )
@ override
@ pragma ( ' vm:prefer-inline ' )
_ $ $ExternalProviderImplCopyWith < _ $ExternalProviderImpl > get copyWith = >
__ $ $ExternalProviderImplCopyWithImpl < _ $ExternalProviderImpl > (
this , _ $identity ) ;
@ override
Map < String , dynamic > toJson ( ) {
return _ $ $ExternalProviderImplToJson (
this ,
) ;
}
}
abstract class _ExternalProvider implements ExternalProvider {
const factory _ExternalProvider (
{ required final String name ,
required final String type ,
2024-08-04 08:21:14 +08:00
required final String path ,
required final int count ,
final bool isUpdating ,
2024-06-03 18:02:05 +08:00
@ JsonKey ( name: " vehicle-type " ) required final String vehicleType ,
@ JsonKey ( name: " update-at " ) required final DateTime updateAt } ) =
_ $ExternalProviderImpl ;
factory _ExternalProvider . fromJson ( Map < String , dynamic > json ) =
_ $ExternalProviderImpl . fromJson ;
@ override
String get name ;
@ override
String get type ;
@ override
2024-08-04 08:21:14 +08:00
String get path ;
@ override
int get count ;
@ override
bool get isUpdating ;
@ override
2024-06-03 18:02:05 +08:00
@ JsonKey ( name: " vehicle-type " )
String get vehicleType ;
@ override
@ JsonKey ( name: " update-at " )
DateTime get updateAt ;
@ override
@ JsonKey ( ignore: true )
_ $ $ExternalProviderImplCopyWith < _ $ExternalProviderImpl > get copyWith = >
throw _privateConstructorUsedError ;
}