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 ' ../selector.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 ' ) ;
/// @nodoc
mixin _ $StartButtonSelectorState {
bool get isInit = > throw _privateConstructorUsedError ;
bool get hasProfile = > throw _privateConstructorUsedError ;
@ JsonKey ( ignore: true )
$StartButtonSelectorStateCopyWith < StartButtonSelectorState > get copyWith = >
throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $StartButtonSelectorStateCopyWith < $Res > {
factory $StartButtonSelectorStateCopyWith ( StartButtonSelectorState value ,
$Res Function ( StartButtonSelectorState ) then ) =
_ $StartButtonSelectorStateCopyWithImpl < $Res , StartButtonSelectorState > ;
@ useResult
$Res call ( { bool isInit , bool hasProfile } ) ;
}
/// @nodoc
class _ $StartButtonSelectorStateCopyWithImpl < $Res ,
$Val extends StartButtonSelectorState >
implements $StartButtonSelectorStateCopyWith < $Res > {
_ $StartButtonSelectorStateCopyWithImpl ( 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 ? isInit = null ,
Object ? hasProfile = null ,
} ) {
return _then ( _value . copyWith (
isInit: null = = isInit
? _value . isInit
: isInit // ignore: cast_nullable_to_non_nullable
as bool ,
hasProfile: null = = hasProfile
? _value . hasProfile
: hasProfile // ignore: cast_nullable_to_non_nullable
as bool ,
) as $Val ) ;
}
}
/// @nodoc
abstract class _ $ $StartButtonSelectorStateImplCopyWith < $Res >
implements $StartButtonSelectorStateCopyWith < $Res > {
factory _ $ $StartButtonSelectorStateImplCopyWith (
_ $StartButtonSelectorStateImpl value ,
$Res Function ( _ $StartButtonSelectorStateImpl ) then ) =
__ $ $StartButtonSelectorStateImplCopyWithImpl < $Res > ;
@ override
@ useResult
$Res call ( { bool isInit , bool hasProfile } ) ;
}
/// @nodoc
class __ $ $StartButtonSelectorStateImplCopyWithImpl < $Res >
extends _ $StartButtonSelectorStateCopyWithImpl < $Res ,
_ $StartButtonSelectorStateImpl >
implements _ $ $StartButtonSelectorStateImplCopyWith < $Res > {
__ $ $StartButtonSelectorStateImplCopyWithImpl (
_ $StartButtonSelectorStateImpl _value ,
$Res Function ( _ $StartButtonSelectorStateImpl ) _then )
: super ( _value , _then ) ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? isInit = null ,
Object ? hasProfile = null ,
} ) {
return _then ( _ $StartButtonSelectorStateImpl (
isInit: null = = isInit
? _value . isInit
: isInit // ignore: cast_nullable_to_non_nullable
as bool ,
hasProfile: null = = hasProfile
? _value . hasProfile
: hasProfile // ignore: cast_nullable_to_non_nullable
as bool ,
) ) ;
}
}
/// @nodoc
class _ $StartButtonSelectorStateImpl implements _StartButtonSelectorState {
const _ $StartButtonSelectorStateImpl (
{ required this . isInit , required this . hasProfile } ) ;
@ override
final bool isInit ;
@ override
final bool hasProfile ;
@ override
String toString ( ) {
return ' StartButtonSelectorState(isInit: $ isInit , hasProfile: $ hasProfile ) ' ;
}
@ override
bool operator = = ( Object other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
other is _ $StartButtonSelectorStateImpl & &
( identical ( other . isInit , isInit ) | | other . isInit = = isInit ) & &
( identical ( other . hasProfile , hasProfile ) | |
other . hasProfile = = hasProfile ) ) ;
}
@ override
int get hashCode = > Object . hash ( runtimeType , isInit , hasProfile ) ;
@ JsonKey ( ignore: true )
@ override
@ pragma ( ' vm:prefer-inline ' )
_ $ $StartButtonSelectorStateImplCopyWith < _ $StartButtonSelectorStateImpl >
get copyWith = > __ $ $StartButtonSelectorStateImplCopyWithImpl <
_ $StartButtonSelectorStateImpl > ( this , _ $identity ) ;
}
abstract class _StartButtonSelectorState implements StartButtonSelectorState {
const factory _StartButtonSelectorState (
{ required final bool isInit ,
required final bool hasProfile } ) = _ $StartButtonSelectorStateImpl ;
@ override
bool get isInit ;
@ override
bool get hasProfile ;
@ override
@ JsonKey ( ignore: true )
_ $ $StartButtonSelectorStateImplCopyWith < _ $StartButtonSelectorStateImpl >
get copyWith = > throw _privateConstructorUsedError ;
}
/// @nodoc
2024-06-06 16:31:08 +08:00
mixin _ $CheckIpSelectorState {
2024-04-30 23:38:49 +08:00
bool get isInit = > throw _privateConstructorUsedError ;
2024-06-06 16:31:08 +08:00
bool get isStart = > throw _privateConstructorUsedError ;
Map < String , String > get selectedMap = > throw _privateConstructorUsedError ;
2024-07-02 08:08:31 +08:00
num get checkIpNum = > throw _privateConstructorUsedError ;
2024-04-30 23:38:49 +08:00
@ JsonKey ( ignore: true )
2024-06-06 16:31:08 +08:00
$CheckIpSelectorStateCopyWith < CheckIpSelectorState > get copyWith = >
throw _privateConstructorUsedError ;
2024-04-30 23:38:49 +08:00
}
/// @nodoc
2024-06-06 16:31:08 +08:00
abstract class $CheckIpSelectorStateCopyWith < $Res > {
factory $CheckIpSelectorStateCopyWith ( CheckIpSelectorState value ,
$Res Function ( CheckIpSelectorState ) then ) =
_ $CheckIpSelectorStateCopyWithImpl < $Res , CheckIpSelectorState > ;
2024-04-30 23:38:49 +08:00
@ useResult
2024-07-02 08:08:31 +08:00
$Res call (
{ bool isInit ,
bool isStart ,
Map < String , String > selectedMap ,
num checkIpNum } ) ;
2024-04-30 23:38:49 +08:00
}
/// @nodoc
2024-06-06 16:31:08 +08:00
class _ $CheckIpSelectorStateCopyWithImpl < $Res ,
$Val extends CheckIpSelectorState >
implements $CheckIpSelectorStateCopyWith < $Res > {
_ $CheckIpSelectorStateCopyWithImpl ( 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 ? isInit = null ,
2024-06-06 16:31:08 +08:00
Object ? isStart = null ,
Object ? selectedMap = null ,
2024-07-02 08:08:31 +08:00
Object ? checkIpNum = null ,
2024-04-30 23:38:49 +08:00
} ) {
return _then ( _value . copyWith (
isInit: null = = isInit
? _value . isInit
: isInit // ignore: cast_nullable_to_non_nullable
as bool ,
2024-06-06 16:31:08 +08:00
isStart: null = = isStart
? _value . isStart
: isStart // ignore: cast_nullable_to_non_nullable
as bool ,
selectedMap: null = = selectedMap
? _value . selectedMap
: selectedMap // ignore: cast_nullable_to_non_nullable
as Map < String , String > ,
2024-07-02 08:08:31 +08:00
checkIpNum: null = = checkIpNum
? _value . checkIpNum
: checkIpNum // ignore: cast_nullable_to_non_nullable
as num ,
2024-04-30 23:38:49 +08:00
) as $Val ) ;
}
}
/// @nodoc
2024-06-06 16:31:08 +08:00
abstract class _ $ $CheckIpSelectorStateImplCopyWith < $Res >
implements $CheckIpSelectorStateCopyWith < $Res > {
factory _ $ $CheckIpSelectorStateImplCopyWith ( _ $CheckIpSelectorStateImpl value ,
$Res Function ( _ $CheckIpSelectorStateImpl ) then ) =
__ $ $CheckIpSelectorStateImplCopyWithImpl < $Res > ;
2024-04-30 23:38:49 +08:00
@ override
@ useResult
2024-07-02 08:08:31 +08:00
$Res call (
{ bool isInit ,
bool isStart ,
Map < String , String > selectedMap ,
num checkIpNum } ) ;
2024-04-30 23:38:49 +08:00
}
/// @nodoc
2024-06-06 16:31:08 +08:00
class __ $ $CheckIpSelectorStateImplCopyWithImpl < $Res >
extends _ $CheckIpSelectorStateCopyWithImpl < $Res , _ $CheckIpSelectorStateImpl >
implements _ $ $CheckIpSelectorStateImplCopyWith < $Res > {
__ $ $CheckIpSelectorStateImplCopyWithImpl ( _ $CheckIpSelectorStateImpl _value ,
$Res Function ( _ $CheckIpSelectorStateImpl ) _then )
2024-04-30 23:38:49 +08:00
: super ( _value , _then ) ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? isInit = null ,
2024-06-06 16:31:08 +08:00
Object ? isStart = null ,
Object ? selectedMap = null ,
2024-07-02 08:08:31 +08:00
Object ? checkIpNum = null ,
2024-04-30 23:38:49 +08:00
} ) {
2024-06-06 16:31:08 +08:00
return _then ( _ $CheckIpSelectorStateImpl (
2024-04-30 23:38:49 +08:00
isInit: null = = isInit
? _value . isInit
: isInit // ignore: cast_nullable_to_non_nullable
as bool ,
2024-06-06 16:31:08 +08:00
isStart: null = = isStart
? _value . isStart
: isStart // ignore: cast_nullable_to_non_nullable
as bool ,
selectedMap: null = = selectedMap
? _value . _selectedMap
: selectedMap // ignore: cast_nullable_to_non_nullable
as Map < String , String > ,
2024-07-02 08:08:31 +08:00
checkIpNum: null = = checkIpNum
? _value . checkIpNum
: checkIpNum // ignore: cast_nullable_to_non_nullable
as num ,
2024-04-30 23:38:49 +08:00
) ) ;
}
}
/// @nodoc
2024-06-06 16:31:08 +08:00
class _ $CheckIpSelectorStateImpl implements _CheckIpSelectorState {
const _ $CheckIpSelectorStateImpl (
{ required this . isInit ,
required this . isStart ,
2024-07-02 08:08:31 +08:00
required final Map < String , String > selectedMap ,
required this . checkIpNum } )
2024-06-06 16:31:08 +08:00
: _selectedMap = selectedMap ;
2024-04-30 23:38:49 +08:00
@ override
2024-06-06 16:31:08 +08:00
final bool isInit ;
2024-04-30 23:38:49 +08:00
@ override
2024-06-06 16:31:08 +08:00
final bool isStart ;
final Map < String , String > _selectedMap ;
2024-04-30 23:38:49 +08:00
@ override
2024-06-06 16:31:08 +08:00
Map < String , String > get selectedMap {
if ( _selectedMap is EqualUnmodifiableMapView ) return _selectedMap ;
// ignore: implicit_dynamic_type
return EqualUnmodifiableMapView ( _selectedMap ) ;
}
2024-04-30 23:38:49 +08:00
2024-07-02 08:08:31 +08:00
@ override
final num checkIpNum ;
2024-04-30 23:38:49 +08:00
@ override
String toString ( ) {
2024-07-02 08:08:31 +08:00
return ' CheckIpSelectorState(isInit: $ isInit , isStart: $ isStart , selectedMap: $ selectedMap , checkIpNum: $ checkIpNum ) ' ;
2024-04-30 23:38:49 +08:00
}
@ override
bool operator = = ( Object other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
2024-06-06 16:31:08 +08:00
other is _ $CheckIpSelectorStateImpl & &
( identical ( other . isInit , isInit ) | | other . isInit = = isInit ) & &
( identical ( other . isStart , isStart ) | | other . isStart = = isStart ) & &
const DeepCollectionEquality ( )
2024-07-02 08:08:31 +08:00
. equals ( other . _selectedMap , _selectedMap ) & &
( identical ( other . checkIpNum , checkIpNum ) | |
other . checkIpNum = = checkIpNum ) ) ;
2024-04-30 23:38:49 +08:00
}
@ override
2024-06-06 16:31:08 +08:00
int get hashCode = > Object . hash ( runtimeType , isInit , isStart ,
2024-07-02 08:08:31 +08:00
const DeepCollectionEquality ( ) . hash ( _selectedMap ) , checkIpNum ) ;
2024-04-30 23:38:49 +08:00
@ JsonKey ( ignore: true )
@ override
@ pragma ( ' vm:prefer-inline ' )
2024-06-06 16:31:08 +08:00
_ $ $CheckIpSelectorStateImplCopyWith < _ $CheckIpSelectorStateImpl >
get copyWith = >
__ $ $CheckIpSelectorStateImplCopyWithImpl < _ $CheckIpSelectorStateImpl > (
this , _ $identity ) ;
2024-04-30 23:38:49 +08:00
}
2024-06-06 16:31:08 +08:00
abstract class _CheckIpSelectorState implements CheckIpSelectorState {
const factory _CheckIpSelectorState (
2024-07-02 08:08:31 +08:00
{ required final bool isInit ,
required final bool isStart ,
required final Map < String , String > selectedMap ,
required final num checkIpNum } ) = _ $CheckIpSelectorStateImpl ;
2024-04-30 23:38:49 +08:00
@ override
2024-06-06 16:31:08 +08:00
bool get isInit ;
2024-04-30 23:38:49 +08:00
@ override
2024-06-06 16:31:08 +08:00
bool get isStart ;
2024-04-30 23:38:49 +08:00
@ override
2024-06-06 16:31:08 +08:00
Map < String , String > get selectedMap ;
2024-04-30 23:38:49 +08:00
@ override
2024-07-02 08:08:31 +08:00
num get checkIpNum ;
@ override
2024-04-30 23:38:49 +08:00
@ JsonKey ( ignore: true )
2024-06-06 16:31:08 +08:00
_ $ $CheckIpSelectorStateImplCopyWith < _ $CheckIpSelectorStateImpl >
2024-04-30 23:38:49 +08:00
get copyWith = > throw _privateConstructorUsedError ;
}
/// @nodoc
mixin _ $NetworkDetectionSelectorState {
String ? get currentProxyName = > throw _privateConstructorUsedError ;
int ? get delay = > throw _privateConstructorUsedError ;
@ JsonKey ( ignore: true )
$NetworkDetectionSelectorStateCopyWith < NetworkDetectionSelectorState >
get copyWith = > throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $NetworkDetectionSelectorStateCopyWith < $Res > {
factory $NetworkDetectionSelectorStateCopyWith (
NetworkDetectionSelectorState value ,
$Res Function ( NetworkDetectionSelectorState ) then ) =
_ $NetworkDetectionSelectorStateCopyWithImpl < $Res ,
NetworkDetectionSelectorState > ;
@ useResult
2024-05-07 13:50:00 +08:00
$Res call ( { String ? currentProxyName , int ? delay } ) ;
2024-04-30 23:38:49 +08:00
}
/// @nodoc
class _ $NetworkDetectionSelectorStateCopyWithImpl < $Res ,
$Val extends NetworkDetectionSelectorState >
implements $NetworkDetectionSelectorStateCopyWith < $Res > {
_ $NetworkDetectionSelectorStateCopyWithImpl ( 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 ? currentProxyName = freezed ,
Object ? delay = freezed ,
} ) {
return _then ( _value . copyWith (
currentProxyName: freezed = = currentProxyName
? _value . currentProxyName
: currentProxyName // ignore: cast_nullable_to_non_nullable
as String ? ,
delay: freezed = = delay
? _value . delay
: delay // ignore: cast_nullable_to_non_nullable
as int ? ,
) as $Val ) ;
}
}
/// @nodoc
abstract class _ $ $NetworkDetectionSelectorStateImplCopyWith < $Res >
implements $NetworkDetectionSelectorStateCopyWith < $Res > {
factory _ $ $NetworkDetectionSelectorStateImplCopyWith (
_ $NetworkDetectionSelectorStateImpl value ,
$Res Function ( _ $NetworkDetectionSelectorStateImpl ) then ) =
__ $ $NetworkDetectionSelectorStateImplCopyWithImpl < $Res > ;
@ override
@ useResult
2024-05-07 13:50:00 +08:00
$Res call ( { String ? currentProxyName , int ? delay } ) ;
2024-04-30 23:38:49 +08:00
}
/// @nodoc
class __ $ $NetworkDetectionSelectorStateImplCopyWithImpl < $Res >
extends _ $NetworkDetectionSelectorStateCopyWithImpl < $Res ,
_ $NetworkDetectionSelectorStateImpl >
implements _ $ $NetworkDetectionSelectorStateImplCopyWith < $Res > {
__ $ $NetworkDetectionSelectorStateImplCopyWithImpl (
_ $NetworkDetectionSelectorStateImpl _value ,
$Res Function ( _ $NetworkDetectionSelectorStateImpl ) _then )
: super ( _value , _then ) ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? currentProxyName = freezed ,
Object ? delay = freezed ,
} ) {
return _then ( _ $NetworkDetectionSelectorStateImpl (
currentProxyName: freezed = = currentProxyName
? _value . currentProxyName
: currentProxyName // ignore: cast_nullable_to_non_nullable
as String ? ,
delay: freezed = = delay
? _value . delay
: delay // ignore: cast_nullable_to_non_nullable
as int ? ,
) ) ;
}
}
/// @nodoc
class _ $NetworkDetectionSelectorStateImpl
implements _NetworkDetectionSelectorState {
const _ $NetworkDetectionSelectorStateImpl (
2024-05-07 13:50:00 +08:00
{ required this . currentProxyName , required this . delay } ) ;
2024-04-30 23:38:49 +08:00
@ override
final String ? currentProxyName ;
@ override
final int ? delay ;
@ override
String toString ( ) {
2024-05-07 13:50:00 +08:00
return ' NetworkDetectionSelectorState(currentProxyName: $ currentProxyName , delay: $ delay ) ' ;
2024-04-30 23:38:49 +08:00
}
@ override
bool operator = = ( Object other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
other is _ $NetworkDetectionSelectorStateImpl & &
( identical ( other . currentProxyName , currentProxyName ) | |
other . currentProxyName = = currentProxyName ) & &
2024-05-07 13:50:00 +08:00
( identical ( other . delay , delay ) | | other . delay = = delay ) ) ;
2024-04-30 23:38:49 +08:00
}
@ override
2024-05-07 13:50:00 +08:00
int get hashCode = > Object . hash ( runtimeType , currentProxyName , delay ) ;
2024-04-30 23:38:49 +08:00
@ JsonKey ( ignore: true )
@ override
@ pragma ( ' vm:prefer-inline ' )
_ $ $NetworkDetectionSelectorStateImplCopyWith <
_ $NetworkDetectionSelectorStateImpl >
get copyWith = > __ $ $NetworkDetectionSelectorStateImplCopyWithImpl <
_ $NetworkDetectionSelectorStateImpl > ( this , _ $identity ) ;
}
abstract class _NetworkDetectionSelectorState
implements NetworkDetectionSelectorState {
const factory _NetworkDetectionSelectorState (
{ required final String ? currentProxyName ,
2024-05-07 13:50:00 +08:00
required final int ? delay } ) = _ $NetworkDetectionSelectorStateImpl ;
2024-04-30 23:38:49 +08:00
@ override
String ? get currentProxyName ;
@ override
int ? get delay ;
@ override
@ JsonKey ( ignore: true )
_ $ $NetworkDetectionSelectorStateImplCopyWith <
_ $NetworkDetectionSelectorStateImpl >
get copyWith = > throw _privateConstructorUsedError ;
}
/// @nodoc
mixin _ $ProfilesSelectorState {
List < Profile > get profiles = > throw _privateConstructorUsedError ;
String ? get currentProfileId = > throw _privateConstructorUsedError ;
2024-05-20 15:15:09 +08:00
ViewMode get viewMode = > throw _privateConstructorUsedError ;
2024-04-30 23:38:49 +08:00
@ JsonKey ( ignore: true )
$ProfilesSelectorStateCopyWith < ProfilesSelectorState > get copyWith = >
throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $ProfilesSelectorStateCopyWith < $Res > {
factory $ProfilesSelectorStateCopyWith ( ProfilesSelectorState value ,
$Res Function ( ProfilesSelectorState ) then ) =
_ $ProfilesSelectorStateCopyWithImpl < $Res , ProfilesSelectorState > ;
@ useResult
2024-05-20 15:15:09 +08:00
$Res call (
{ List < Profile > profiles , String ? currentProfileId , ViewMode viewMode } ) ;
2024-04-30 23:38:49 +08:00
}
/// @nodoc
class _ $ProfilesSelectorStateCopyWithImpl < $Res ,
$Val extends ProfilesSelectorState >
implements $ProfilesSelectorStateCopyWith < $Res > {
_ $ProfilesSelectorStateCopyWithImpl ( 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 ? profiles = null ,
Object ? currentProfileId = freezed ,
2024-05-20 15:15:09 +08:00
Object ? viewMode = null ,
2024-04-30 23:38:49 +08:00
} ) {
return _then ( _value . copyWith (
profiles: null = = profiles
? _value . profiles
: profiles // ignore: cast_nullable_to_non_nullable
as List < Profile > ,
currentProfileId: freezed = = currentProfileId
? _value . currentProfileId
: currentProfileId // ignore: cast_nullable_to_non_nullable
as String ? ,
2024-05-20 15:15:09 +08:00
viewMode: null = = viewMode
? _value . viewMode
: viewMode // ignore: cast_nullable_to_non_nullable
as ViewMode ,
2024-04-30 23:38:49 +08:00
) as $Val ) ;
}
}
/// @nodoc
abstract class _ $ $ProfilesSelectorStateImplCopyWith < $Res >
implements $ProfilesSelectorStateCopyWith < $Res > {
factory _ $ $ProfilesSelectorStateImplCopyWith (
_ $ProfilesSelectorStateImpl value ,
$Res Function ( _ $ProfilesSelectorStateImpl ) then ) =
__ $ $ProfilesSelectorStateImplCopyWithImpl < $Res > ;
@ override
@ useResult
2024-05-20 15:15:09 +08:00
$Res call (
{ List < Profile > profiles , String ? currentProfileId , ViewMode viewMode } ) ;
2024-04-30 23:38:49 +08:00
}
/// @nodoc
class __ $ $ProfilesSelectorStateImplCopyWithImpl < $Res >
extends _ $ProfilesSelectorStateCopyWithImpl < $Res ,
_ $ProfilesSelectorStateImpl >
implements _ $ $ProfilesSelectorStateImplCopyWith < $Res > {
__ $ $ProfilesSelectorStateImplCopyWithImpl ( _ $ProfilesSelectorStateImpl _value ,
$Res Function ( _ $ProfilesSelectorStateImpl ) _then )
: super ( _value , _then ) ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? profiles = null ,
Object ? currentProfileId = freezed ,
2024-05-20 15:15:09 +08:00
Object ? viewMode = null ,
2024-04-30 23:38:49 +08:00
} ) {
return _then ( _ $ProfilesSelectorStateImpl (
profiles: null = = profiles
? _value . _profiles
: profiles // ignore: cast_nullable_to_non_nullable
as List < Profile > ,
currentProfileId: freezed = = currentProfileId
? _value . currentProfileId
: currentProfileId // ignore: cast_nullable_to_non_nullable
as String ? ,
2024-05-20 15:15:09 +08:00
viewMode: null = = viewMode
? _value . viewMode
: viewMode // ignore: cast_nullable_to_non_nullable
as ViewMode ,
2024-04-30 23:38:49 +08:00
) ) ;
}
}
/// @nodoc
class _ $ProfilesSelectorStateImpl implements _ProfilesSelectorState {
const _ $ProfilesSelectorStateImpl (
2024-05-20 15:15:09 +08:00
{ required final List < Profile > profiles ,
required this . currentProfileId ,
required this . viewMode } )
2024-04-30 23:38:49 +08:00
: _profiles = profiles ;
final List < Profile > _profiles ;
@ override
List < Profile > get profiles {
if ( _profiles is EqualUnmodifiableListView ) return _profiles ;
// ignore: implicit_dynamic_type
return EqualUnmodifiableListView ( _profiles ) ;
}
@ override
final String ? currentProfileId ;
2024-05-20 15:15:09 +08:00
@ override
final ViewMode viewMode ;
2024-04-30 23:38:49 +08:00
@ override
String toString ( ) {
2024-05-20 15:15:09 +08:00
return ' ProfilesSelectorState(profiles: $ profiles , currentProfileId: $ currentProfileId , viewMode: $ viewMode ) ' ;
2024-04-30 23:38:49 +08:00
}
@ override
bool operator = = ( Object other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
other is _ $ProfilesSelectorStateImpl & &
const DeepCollectionEquality ( ) . equals ( other . _profiles , _profiles ) & &
( identical ( other . currentProfileId , currentProfileId ) | |
2024-05-20 15:15:09 +08:00
other . currentProfileId = = currentProfileId ) & &
( identical ( other . viewMode , viewMode ) | |
other . viewMode = = viewMode ) ) ;
2024-04-30 23:38:49 +08:00
}
@ override
2024-05-20 15:15:09 +08:00
int get hashCode = > Object . hash (
runtimeType ,
const DeepCollectionEquality ( ) . hash ( _profiles ) ,
currentProfileId ,
viewMode ) ;
2024-04-30 23:38:49 +08:00
@ JsonKey ( ignore: true )
@ override
@ pragma ( ' vm:prefer-inline ' )
_ $ $ProfilesSelectorStateImplCopyWith < _ $ProfilesSelectorStateImpl >
get copyWith = > __ $ $ProfilesSelectorStateImplCopyWithImpl <
_ $ProfilesSelectorStateImpl > ( this , _ $identity ) ;
}
abstract class _ProfilesSelectorState implements ProfilesSelectorState {
const factory _ProfilesSelectorState (
{ required final List < Profile > profiles ,
2024-05-20 15:15:09 +08:00
required final String ? currentProfileId ,
required final ViewMode viewMode } ) = _ $ProfilesSelectorStateImpl ;
2024-04-30 23:38:49 +08:00
@ override
List < Profile > get profiles ;
@ override
String ? get currentProfileId ;
@ override
2024-05-20 15:15:09 +08:00
ViewMode get viewMode ;
@ override
2024-04-30 23:38:49 +08:00
@ JsonKey ( ignore: true )
_ $ $ProfilesSelectorStateImplCopyWith < _ $ProfilesSelectorStateImpl >
get copyWith = > throw _privateConstructorUsedError ;
}
/// @nodoc
mixin _ $ApplicationSelectorState {
String ? get locale = > throw _privateConstructorUsedError ;
ThemeMode ? get themeMode = > throw _privateConstructorUsedError ;
int ? get primaryColor = > throw _privateConstructorUsedError ;
@ JsonKey ( ignore: true )
$ApplicationSelectorStateCopyWith < ApplicationSelectorState > get copyWith = >
throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $ApplicationSelectorStateCopyWith < $Res > {
factory $ApplicationSelectorStateCopyWith ( ApplicationSelectorState value ,
$Res Function ( ApplicationSelectorState ) then ) =
_ $ApplicationSelectorStateCopyWithImpl < $Res , ApplicationSelectorState > ;
@ useResult
$Res call ( { String ? locale , ThemeMode ? themeMode , int ? primaryColor } ) ;
}
/// @nodoc
class _ $ApplicationSelectorStateCopyWithImpl < $Res ,
$Val extends ApplicationSelectorState >
implements $ApplicationSelectorStateCopyWith < $Res > {
_ $ApplicationSelectorStateCopyWithImpl ( 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 ? locale = freezed ,
Object ? themeMode = freezed ,
Object ? primaryColor = freezed ,
} ) {
return _then ( _value . copyWith (
locale: freezed = = locale
? _value . locale
: locale // ignore: cast_nullable_to_non_nullable
as String ? ,
themeMode: freezed = = themeMode
? _value . themeMode
: themeMode // ignore: cast_nullable_to_non_nullable
as ThemeMode ? ,
primaryColor: freezed = = primaryColor
? _value . primaryColor
: primaryColor // ignore: cast_nullable_to_non_nullable
as int ? ,
) as $Val ) ;
}
}
/// @nodoc
abstract class _ $ $ApplicationSelectorStateImplCopyWith < $Res >
implements $ApplicationSelectorStateCopyWith < $Res > {
factory _ $ $ApplicationSelectorStateImplCopyWith (
_ $ApplicationSelectorStateImpl value ,
$Res Function ( _ $ApplicationSelectorStateImpl ) then ) =
__ $ $ApplicationSelectorStateImplCopyWithImpl < $Res > ;
@ override
@ useResult
$Res call ( { String ? locale , ThemeMode ? themeMode , int ? primaryColor } ) ;
}
/// @nodoc
class __ $ $ApplicationSelectorStateImplCopyWithImpl < $Res >
extends _ $ApplicationSelectorStateCopyWithImpl < $Res ,
_ $ApplicationSelectorStateImpl >
implements _ $ $ApplicationSelectorStateImplCopyWith < $Res > {
__ $ $ApplicationSelectorStateImplCopyWithImpl (
_ $ApplicationSelectorStateImpl _value ,
$Res Function ( _ $ApplicationSelectorStateImpl ) _then )
: super ( _value , _then ) ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? locale = freezed ,
Object ? themeMode = freezed ,
Object ? primaryColor = freezed ,
} ) {
return _then ( _ $ApplicationSelectorStateImpl (
locale: freezed = = locale
? _value . locale
: locale // ignore: cast_nullable_to_non_nullable
as String ? ,
themeMode: freezed = = themeMode
? _value . themeMode
: themeMode // ignore: cast_nullable_to_non_nullable
as ThemeMode ? ,
primaryColor: freezed = = primaryColor
? _value . primaryColor
: primaryColor // ignore: cast_nullable_to_non_nullable
as int ? ,
) ) ;
}
}
/// @nodoc
class _ $ApplicationSelectorStateImpl implements _ApplicationSelectorState {
const _ $ApplicationSelectorStateImpl (
{ this . locale , this . themeMode , this . primaryColor } ) ;
@ override
final String ? locale ;
@ override
final ThemeMode ? themeMode ;
@ override
final int ? primaryColor ;
@ override
String toString ( ) {
return ' ApplicationSelectorState(locale: $ locale , themeMode: $ themeMode , primaryColor: $ primaryColor ) ' ;
}
@ override
bool operator = = ( Object other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
other is _ $ApplicationSelectorStateImpl & &
( identical ( other . locale , locale ) | | other . locale = = locale ) & &
( identical ( other . themeMode , themeMode ) | |
other . themeMode = = themeMode ) & &
( identical ( other . primaryColor , primaryColor ) | |
other . primaryColor = = primaryColor ) ) ;
}
@ override
int get hashCode = > Object . hash ( runtimeType , locale , themeMode , primaryColor ) ;
@ JsonKey ( ignore: true )
@ override
@ pragma ( ' vm:prefer-inline ' )
_ $ $ApplicationSelectorStateImplCopyWith < _ $ApplicationSelectorStateImpl >
get copyWith = > __ $ $ApplicationSelectorStateImplCopyWithImpl <
_ $ApplicationSelectorStateImpl > ( this , _ $identity ) ;
}
abstract class _ApplicationSelectorState implements ApplicationSelectorState {
const factory _ApplicationSelectorState (
{ final String ? locale ,
final ThemeMode ? themeMode ,
final int ? primaryColor } ) = _ $ApplicationSelectorStateImpl ;
@ override
String ? get locale ;
@ override
ThemeMode ? get themeMode ;
@ override
int ? get primaryColor ;
@ override
@ JsonKey ( ignore: true )
_ $ $ApplicationSelectorStateImplCopyWith < _ $ApplicationSelectorStateImpl >
get copyWith = > throw _privateConstructorUsedError ;
}
/// @nodoc
mixin _ $TrayContainerSelectorState {
Mode get mode = > throw _privateConstructorUsedError ;
bool get autoLaunch = > throw _privateConstructorUsedError ;
bool get isRun = > throw _privateConstructorUsedError ;
String ? get locale = > throw _privateConstructorUsedError ;
@ JsonKey ( ignore: true )
$TrayContainerSelectorStateCopyWith < TrayContainerSelectorState >
get copyWith = > throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $TrayContainerSelectorStateCopyWith < $Res > {
factory $TrayContainerSelectorStateCopyWith ( TrayContainerSelectorState value ,
$Res Function ( TrayContainerSelectorState ) then ) =
_ $TrayContainerSelectorStateCopyWithImpl < $Res ,
TrayContainerSelectorState > ;
@ useResult
$Res call ( { Mode mode , bool autoLaunch , bool isRun , String ? locale } ) ;
}
/// @nodoc
class _ $TrayContainerSelectorStateCopyWithImpl < $Res ,
$Val extends TrayContainerSelectorState >
implements $TrayContainerSelectorStateCopyWith < $Res > {
_ $TrayContainerSelectorStateCopyWithImpl ( 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 ? mode = null ,
Object ? autoLaunch = null ,
Object ? isRun = null ,
Object ? locale = freezed ,
} ) {
return _then ( _value . copyWith (
mode: null = = mode
? _value . mode
: mode // ignore: cast_nullable_to_non_nullable
as Mode ,
autoLaunch: null = = autoLaunch
? _value . autoLaunch
: autoLaunch // ignore: cast_nullable_to_non_nullable
as bool ,
isRun: null = = isRun
? _value . isRun
: isRun // ignore: cast_nullable_to_non_nullable
as bool ,
locale: freezed = = locale
? _value . locale
: locale // ignore: cast_nullable_to_non_nullable
as String ? ,
) as $Val ) ;
}
}
/// @nodoc
abstract class _ $ $TrayContainerSelectorStateImplCopyWith < $Res >
implements $TrayContainerSelectorStateCopyWith < $Res > {
factory _ $ $TrayContainerSelectorStateImplCopyWith (
_ $TrayContainerSelectorStateImpl value ,
$Res Function ( _ $TrayContainerSelectorStateImpl ) then ) =
__ $ $TrayContainerSelectorStateImplCopyWithImpl < $Res > ;
@ override
@ useResult
$Res call ( { Mode mode , bool autoLaunch , bool isRun , String ? locale } ) ;
}
/// @nodoc
class __ $ $TrayContainerSelectorStateImplCopyWithImpl < $Res >
extends _ $TrayContainerSelectorStateCopyWithImpl < $Res ,
_ $TrayContainerSelectorStateImpl >
implements _ $ $TrayContainerSelectorStateImplCopyWith < $Res > {
__ $ $TrayContainerSelectorStateImplCopyWithImpl (
_ $TrayContainerSelectorStateImpl _value ,
$Res Function ( _ $TrayContainerSelectorStateImpl ) _then )
: super ( _value , _then ) ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? mode = null ,
Object ? autoLaunch = null ,
Object ? isRun = null ,
Object ? locale = freezed ,
} ) {
return _then ( _ $TrayContainerSelectorStateImpl (
mode: null = = mode
? _value . mode
: mode // ignore: cast_nullable_to_non_nullable
as Mode ,
autoLaunch: null = = autoLaunch
? _value . autoLaunch
: autoLaunch // ignore: cast_nullable_to_non_nullable
as bool ,
isRun: null = = isRun
? _value . isRun
: isRun // ignore: cast_nullable_to_non_nullable
as bool ,
locale: freezed = = locale
? _value . locale
: locale // ignore: cast_nullable_to_non_nullable
as String ? ,
) ) ;
}
}
/// @nodoc
class _ $TrayContainerSelectorStateImpl implements _TrayContainerSelectorState {
const _ $TrayContainerSelectorStateImpl (
{ required this . mode ,
required this . autoLaunch ,
required this . isRun ,
required this . locale } ) ;
@ override
final Mode mode ;
@ override
final bool autoLaunch ;
@ override
final bool isRun ;
@ override
final String ? locale ;
@ override
String toString ( ) {
return ' TrayContainerSelectorState(mode: $ mode , autoLaunch: $ autoLaunch , isRun: $ isRun , locale: $ locale ) ' ;
}
@ override
bool operator = = ( Object other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
other is _ $TrayContainerSelectorStateImpl & &
( identical ( other . mode , mode ) | | other . mode = = mode ) & &
( identical ( other . autoLaunch , autoLaunch ) | |
other . autoLaunch = = autoLaunch ) & &
( identical ( other . isRun , isRun ) | | other . isRun = = isRun ) & &
( identical ( other . locale , locale ) | | other . locale = = locale ) ) ;
}
@ override
int get hashCode = > Object . hash ( runtimeType , mode , autoLaunch , isRun , locale ) ;
@ JsonKey ( ignore: true )
@ override
@ pragma ( ' vm:prefer-inline ' )
_ $ $TrayContainerSelectorStateImplCopyWith < _ $TrayContainerSelectorStateImpl >
get copyWith = > __ $ $TrayContainerSelectorStateImplCopyWithImpl <
_ $TrayContainerSelectorStateImpl > ( this , _ $identity ) ;
}
abstract class _TrayContainerSelectorState
implements TrayContainerSelectorState {
const factory _TrayContainerSelectorState (
{ required final Mode mode ,
required final bool autoLaunch ,
required final bool isRun ,
required final String ? locale } ) = _ $TrayContainerSelectorStateImpl ;
@ override
Mode get mode ;
@ override
bool get autoLaunch ;
@ override
bool get isRun ;
@ override
String ? get locale ;
@ override
@ JsonKey ( ignore: true )
_ $ $TrayContainerSelectorStateImplCopyWith < _ $TrayContainerSelectorStateImpl >
get copyWith = > throw _privateConstructorUsedError ;
}
/// @nodoc
mixin _ $UpdateNavigationsSelector {
bool get openLogs = > throw _privateConstructorUsedError ;
bool get hasProxies = > throw _privateConstructorUsedError ;
@ JsonKey ( ignore: true )
$UpdateNavigationsSelectorCopyWith < UpdateNavigationsSelector > get copyWith = >
throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $UpdateNavigationsSelectorCopyWith < $Res > {
factory $UpdateNavigationsSelectorCopyWith ( UpdateNavigationsSelector value ,
$Res Function ( UpdateNavigationsSelector ) then ) =
_ $UpdateNavigationsSelectorCopyWithImpl < $Res , UpdateNavigationsSelector > ;
@ useResult
$Res call ( { bool openLogs , bool hasProxies } ) ;
}
/// @nodoc
class _ $UpdateNavigationsSelectorCopyWithImpl < $Res ,
$Val extends UpdateNavigationsSelector >
implements $UpdateNavigationsSelectorCopyWith < $Res > {
_ $UpdateNavigationsSelectorCopyWithImpl ( 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 ? openLogs = null ,
Object ? hasProxies = null ,
} ) {
return _then ( _value . copyWith (
openLogs: null = = openLogs
? _value . openLogs
: openLogs // ignore: cast_nullable_to_non_nullable
as bool ,
hasProxies: null = = hasProxies
? _value . hasProxies
: hasProxies // ignore: cast_nullable_to_non_nullable
as bool ,
) as $Val ) ;
}
}
/// @nodoc
abstract class _ $ $UpdateNavigationsSelectorImplCopyWith < $Res >
implements $UpdateNavigationsSelectorCopyWith < $Res > {
factory _ $ $UpdateNavigationsSelectorImplCopyWith (
_ $UpdateNavigationsSelectorImpl value ,
$Res Function ( _ $UpdateNavigationsSelectorImpl ) then ) =
__ $ $UpdateNavigationsSelectorImplCopyWithImpl < $Res > ;
@ override
@ useResult
$Res call ( { bool openLogs , bool hasProxies } ) ;
}
/// @nodoc
class __ $ $UpdateNavigationsSelectorImplCopyWithImpl < $Res >
extends _ $UpdateNavigationsSelectorCopyWithImpl < $Res ,
_ $UpdateNavigationsSelectorImpl >
implements _ $ $UpdateNavigationsSelectorImplCopyWith < $Res > {
__ $ $UpdateNavigationsSelectorImplCopyWithImpl (
_ $UpdateNavigationsSelectorImpl _value ,
$Res Function ( _ $UpdateNavigationsSelectorImpl ) _then )
: super ( _value , _then ) ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? openLogs = null ,
Object ? hasProxies = null ,
} ) {
return _then ( _ $UpdateNavigationsSelectorImpl (
openLogs: null = = openLogs
? _value . openLogs
: openLogs // ignore: cast_nullable_to_non_nullable
as bool ,
hasProxies: null = = hasProxies
? _value . hasProxies
: hasProxies // ignore: cast_nullable_to_non_nullable
as bool ,
) ) ;
}
}
/// @nodoc
class _ $UpdateNavigationsSelectorImpl implements _UpdateNavigationsSelector {
const _ $UpdateNavigationsSelectorImpl (
{ required this . openLogs , required this . hasProxies } ) ;
@ override
final bool openLogs ;
@ override
final bool hasProxies ;
@ override
String toString ( ) {
return ' UpdateNavigationsSelector(openLogs: $ openLogs , hasProxies: $ hasProxies ) ' ;
}
@ override
bool operator = = ( Object other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
other is _ $UpdateNavigationsSelectorImpl & &
( identical ( other . openLogs , openLogs ) | |
other . openLogs = = openLogs ) & &
( identical ( other . hasProxies , hasProxies ) | |
other . hasProxies = = hasProxies ) ) ;
}
@ override
int get hashCode = > Object . hash ( runtimeType , openLogs , hasProxies ) ;
@ JsonKey ( ignore: true )
@ override
@ pragma ( ' vm:prefer-inline ' )
_ $ $UpdateNavigationsSelectorImplCopyWith < _ $UpdateNavigationsSelectorImpl >
get copyWith = > __ $ $UpdateNavigationsSelectorImplCopyWithImpl <
_ $UpdateNavigationsSelectorImpl > ( this , _ $identity ) ;
}
abstract class _UpdateNavigationsSelector implements UpdateNavigationsSelector {
const factory _UpdateNavigationsSelector (
{ required final bool openLogs ,
required final bool hasProxies } ) = _ $UpdateNavigationsSelectorImpl ;
@ override
bool get openLogs ;
@ override
bool get hasProxies ;
@ override
@ JsonKey ( ignore: true )
_ $ $UpdateNavigationsSelectorImplCopyWith < _ $UpdateNavigationsSelectorImpl >
get copyWith = > throw _privateConstructorUsedError ;
}
/// @nodoc
2024-05-20 15:15:09 +08:00
mixin _ $HomeSelectorState {
2024-04-30 23:38:49 +08:00
String get currentLabel = > throw _privateConstructorUsedError ;
2024-05-20 15:15:09 +08:00
List < NavigationItem > get navigationItems = >
throw _privateConstructorUsedError ;
ViewMode get viewMode = > throw _privateConstructorUsedError ;
2024-04-30 23:38:49 +08:00
String ? get locale = > throw _privateConstructorUsedError ;
@ JsonKey ( ignore: true )
2024-05-20 15:15:09 +08:00
$HomeSelectorStateCopyWith < HomeSelectorState > get copyWith = >
throw _privateConstructorUsedError ;
2024-04-30 23:38:49 +08:00
}
/// @nodoc
2024-05-20 15:15:09 +08:00
abstract class $HomeSelectorStateCopyWith < $Res > {
factory $HomeSelectorStateCopyWith (
HomeSelectorState value , $Res Function ( HomeSelectorState ) then ) =
_ $HomeSelectorStateCopyWithImpl < $Res , HomeSelectorState > ;
2024-04-30 23:38:49 +08:00
@ useResult
2024-05-20 15:15:09 +08:00
$Res call (
{ String currentLabel ,
List < NavigationItem > navigationItems ,
ViewMode viewMode ,
String ? locale } ) ;
2024-04-30 23:38:49 +08:00
}
/// @nodoc
2024-05-20 15:15:09 +08:00
class _ $HomeSelectorStateCopyWithImpl < $Res , $Val extends HomeSelectorState >
implements $HomeSelectorStateCopyWith < $Res > {
_ $HomeSelectorStateCopyWithImpl ( 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 ? currentLabel = null ,
2024-05-20 15:15:09 +08:00
Object ? navigationItems = null ,
Object ? viewMode = null ,
2024-04-30 23:38:49 +08:00
Object ? locale = freezed ,
} ) {
return _then ( _value . copyWith (
currentLabel: null = = currentLabel
? _value . currentLabel
: currentLabel // ignore: cast_nullable_to_non_nullable
as String ,
2024-05-20 15:15:09 +08:00
navigationItems: null = = navigationItems
? _value . navigationItems
: navigationItems // ignore: cast_nullable_to_non_nullable
as List < NavigationItem > ,
viewMode: null = = viewMode
? _value . viewMode
: viewMode // ignore: cast_nullable_to_non_nullable
as ViewMode ,
2024-04-30 23:38:49 +08:00
locale: freezed = = locale
? _value . locale
: locale // ignore: cast_nullable_to_non_nullable
as String ? ,
) as $Val ) ;
}
}
/// @nodoc
2024-05-20 15:15:09 +08:00
abstract class _ $ $HomeSelectorStateImplCopyWith < $Res >
implements $HomeSelectorStateCopyWith < $Res > {
factory _ $ $HomeSelectorStateImplCopyWith ( _ $HomeSelectorStateImpl value ,
$Res Function ( _ $HomeSelectorStateImpl ) then ) =
__ $ $HomeSelectorStateImplCopyWithImpl < $Res > ;
2024-04-30 23:38:49 +08:00
@ override
@ useResult
2024-05-20 15:15:09 +08:00
$Res call (
{ String currentLabel ,
List < NavigationItem > navigationItems ,
ViewMode viewMode ,
String ? locale } ) ;
2024-04-30 23:38:49 +08:00
}
/// @nodoc
2024-05-20 15:15:09 +08:00
class __ $ $HomeSelectorStateImplCopyWithImpl < $Res >
extends _ $HomeSelectorStateCopyWithImpl < $Res , _ $HomeSelectorStateImpl >
implements _ $ $HomeSelectorStateImplCopyWith < $Res > {
__ $ $HomeSelectorStateImplCopyWithImpl ( _ $HomeSelectorStateImpl _value ,
$Res Function ( _ $HomeSelectorStateImpl ) _then )
2024-04-30 23:38:49 +08:00
: super ( _value , _then ) ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? currentLabel = null ,
2024-05-20 15:15:09 +08:00
Object ? navigationItems = null ,
Object ? viewMode = null ,
2024-04-30 23:38:49 +08:00
Object ? locale = freezed ,
} ) {
2024-05-20 15:15:09 +08:00
return _then ( _ $HomeSelectorStateImpl (
2024-04-30 23:38:49 +08:00
currentLabel: null = = currentLabel
? _value . currentLabel
: currentLabel // ignore: cast_nullable_to_non_nullable
as String ,
2024-05-20 15:15:09 +08:00
navigationItems: null = = navigationItems
? _value . _navigationItems
: navigationItems // ignore: cast_nullable_to_non_nullable
as List < NavigationItem > ,
viewMode: null = = viewMode
? _value . viewMode
: viewMode // ignore: cast_nullable_to_non_nullable
as ViewMode ,
2024-04-30 23:38:49 +08:00
locale: freezed = = locale
? _value . locale
: locale // ignore: cast_nullable_to_non_nullable
as String ? ,
) ) ;
}
}
/// @nodoc
2024-05-20 15:15:09 +08:00
class _ $HomeSelectorStateImpl implements _HomeSelectorState {
const _ $HomeSelectorStateImpl (
{ required this . currentLabel ,
required final List < NavigationItem > navigationItems ,
required this . viewMode ,
required this . locale } )
: _navigationItems = navigationItems ;
2024-04-30 23:38:49 +08:00
@ override
final String currentLabel ;
2024-05-20 15:15:09 +08:00
final List < NavigationItem > _navigationItems ;
@ override
List < NavigationItem > get navigationItems {
if ( _navigationItems is EqualUnmodifiableListView ) return _navigationItems ;
// ignore: implicit_dynamic_type
return EqualUnmodifiableListView ( _navigationItems ) ;
}
@ override
final ViewMode viewMode ;
2024-04-30 23:38:49 +08:00
@ override
final String ? locale ;
@ override
String toString ( ) {
2024-05-20 15:15:09 +08:00
return ' HomeSelectorState(currentLabel: $ currentLabel , navigationItems: $ navigationItems , viewMode: $ viewMode , locale: $ locale ) ' ;
2024-04-30 23:38:49 +08:00
}
@ override
bool operator = = ( Object other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
2024-05-20 15:15:09 +08:00
other is _ $HomeSelectorStateImpl & &
2024-04-30 23:38:49 +08:00
( identical ( other . currentLabel , currentLabel ) | |
other . currentLabel = = currentLabel ) & &
2024-05-20 15:15:09 +08:00
const DeepCollectionEquality ( )
. equals ( other . _navigationItems , _navigationItems ) & &
( identical ( other . viewMode , viewMode ) | |
other . viewMode = = viewMode ) & &
2024-04-30 23:38:49 +08:00
( identical ( other . locale , locale ) | | other . locale = = locale ) ) ;
}
@ override
2024-05-20 15:15:09 +08:00
int get hashCode = > Object . hash ( runtimeType , currentLabel ,
const DeepCollectionEquality ( ) . hash ( _navigationItems ) , viewMode , locale ) ;
2024-04-30 23:38:49 +08:00
@ JsonKey ( ignore: true )
@ override
@ pragma ( ' vm:prefer-inline ' )
2024-05-20 15:15:09 +08:00
_ $ $HomeSelectorStateImplCopyWith < _ $HomeSelectorStateImpl > get copyWith = >
__ $ $HomeSelectorStateImplCopyWithImpl < _ $HomeSelectorStateImpl > (
this , _ $identity ) ;
2024-04-30 23:38:49 +08:00
}
2024-05-20 15:15:09 +08:00
abstract class _HomeSelectorState implements HomeSelectorState {
const factory _HomeSelectorState (
2024-04-30 23:38:49 +08:00
{ required final String currentLabel ,
2024-05-20 15:15:09 +08:00
required final List < NavigationItem > navigationItems ,
required final ViewMode viewMode ,
required final String ? locale } ) = _ $HomeSelectorStateImpl ;
2024-04-30 23:38:49 +08:00
@ override
String get currentLabel ;
@ override
2024-05-20 15:15:09 +08:00
List < NavigationItem > get navigationItems ;
@ override
ViewMode get viewMode ;
@ override
2024-04-30 23:38:49 +08:00
String ? get locale ;
@ override
@ JsonKey ( ignore: true )
2024-05-20 15:15:09 +08:00
_ $ $HomeSelectorStateImplCopyWith < _ $HomeSelectorStateImpl > get copyWith = >
throw _privateConstructorUsedError ;
2024-04-30 23:38:49 +08:00
}
/// @nodoc
2024-05-20 15:15:09 +08:00
mixin _ $HomeBodySelectorState {
List < NavigationItem > get navigationItems = >
throw _privateConstructorUsedError ;
2024-04-30 23:38:49 +08:00
@ JsonKey ( ignore: true )
2024-05-20 15:15:09 +08:00
$HomeBodySelectorStateCopyWith < HomeBodySelectorState > get copyWith = >
throw _privateConstructorUsedError ;
2024-04-30 23:38:49 +08:00
}
/// @nodoc
2024-05-20 15:15:09 +08:00
abstract class $HomeBodySelectorStateCopyWith < $Res > {
factory $HomeBodySelectorStateCopyWith ( HomeBodySelectorState value ,
$Res Function ( HomeBodySelectorState ) then ) =
_ $HomeBodySelectorStateCopyWithImpl < $Res , HomeBodySelectorState > ;
2024-04-30 23:38:49 +08:00
@ useResult
2024-05-20 15:15:09 +08:00
$Res call ( { List < NavigationItem > navigationItems } ) ;
2024-04-30 23:38:49 +08:00
}
/// @nodoc
2024-05-20 15:15:09 +08:00
class _ $HomeBodySelectorStateCopyWithImpl < $Res ,
$Val extends HomeBodySelectorState >
implements $HomeBodySelectorStateCopyWith < $Res > {
_ $HomeBodySelectorStateCopyWithImpl ( 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 ( {
2024-05-20 15:15:09 +08:00
Object ? navigationItems = null ,
2024-04-30 23:38:49 +08:00
} ) {
return _then ( _value . copyWith (
2024-05-20 15:15:09 +08:00
navigationItems: null = = navigationItems
? _value . navigationItems
: navigationItems // ignore: cast_nullable_to_non_nullable
as List < NavigationItem > ,
2024-04-30 23:38:49 +08:00
) as $Val ) ;
}
}
/// @nodoc
2024-05-20 15:15:09 +08:00
abstract class _ $ $HomeBodySelectorStateImplCopyWith < $Res >
implements $HomeBodySelectorStateCopyWith < $Res > {
factory _ $ $HomeBodySelectorStateImplCopyWith (
_ $HomeBodySelectorStateImpl value ,
$Res Function ( _ $HomeBodySelectorStateImpl ) then ) =
__ $ $HomeBodySelectorStateImplCopyWithImpl < $Res > ;
2024-04-30 23:38:49 +08:00
@ override
@ useResult
2024-05-20 15:15:09 +08:00
$Res call ( { List < NavigationItem > navigationItems } ) ;
2024-04-30 23:38:49 +08:00
}
/// @nodoc
2024-05-20 15:15:09 +08:00
class __ $ $HomeBodySelectorStateImplCopyWithImpl < $Res >
extends _ $HomeBodySelectorStateCopyWithImpl < $Res ,
_ $HomeBodySelectorStateImpl >
implements _ $ $HomeBodySelectorStateImplCopyWith < $Res > {
__ $ $HomeBodySelectorStateImplCopyWithImpl ( _ $HomeBodySelectorStateImpl _value ,
$Res Function ( _ $HomeBodySelectorStateImpl ) _then )
2024-04-30 23:38:49 +08:00
: super ( _value , _then ) ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
2024-05-20 15:15:09 +08:00
Object ? navigationItems = null ,
2024-04-30 23:38:49 +08:00
} ) {
2024-05-20 15:15:09 +08:00
return _then ( _ $HomeBodySelectorStateImpl (
navigationItems: null = = navigationItems
? _value . _navigationItems
: navigationItems // ignore: cast_nullable_to_non_nullable
as List < NavigationItem > ,
2024-04-30 23:38:49 +08:00
) ) ;
}
}
/// @nodoc
2024-05-20 15:15:09 +08:00
class _ $HomeBodySelectorStateImpl implements _HomeBodySelectorState {
const _ $HomeBodySelectorStateImpl (
{ required final List < NavigationItem > navigationItems } )
: _navigationItems = navigationItems ;
2024-04-30 23:38:49 +08:00
2024-05-20 15:15:09 +08:00
final List < NavigationItem > _navigationItems ;
2024-04-30 23:38:49 +08:00
@ override
2024-05-20 15:15:09 +08:00
List < NavigationItem > get navigationItems {
if ( _navigationItems is EqualUnmodifiableListView ) return _navigationItems ;
// ignore: implicit_dynamic_type
return EqualUnmodifiableListView ( _navigationItems ) ;
}
2024-04-30 23:38:49 +08:00
@ override
String toString ( ) {
2024-05-20 15:15:09 +08:00
return ' HomeBodySelectorState(navigationItems: $ navigationItems ) ' ;
2024-04-30 23:38:49 +08:00
}
@ override
bool operator = = ( Object other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
2024-05-20 15:15:09 +08:00
other is _ $HomeBodySelectorStateImpl & &
const DeepCollectionEquality ( )
. equals ( other . _navigationItems , _navigationItems ) ) ;
2024-04-30 23:38:49 +08:00
}
@ override
2024-05-20 15:15:09 +08:00
int get hashCode = > Object . hash (
runtimeType , const DeepCollectionEquality ( ) . hash ( _navigationItems ) ) ;
2024-04-30 23:38:49 +08:00
@ JsonKey ( ignore: true )
@ override
@ pragma ( ' vm:prefer-inline ' )
2024-05-20 15:15:09 +08:00
_ $ $HomeBodySelectorStateImplCopyWith < _ $HomeBodySelectorStateImpl >
get copyWith = > __ $ $HomeBodySelectorStateImplCopyWithImpl <
_ $HomeBodySelectorStateImpl > ( this , _ $identity ) ;
2024-04-30 23:38:49 +08:00
}
2024-05-20 15:15:09 +08:00
abstract class _HomeBodySelectorState implements HomeBodySelectorState {
const factory _HomeBodySelectorState (
{ required final List < NavigationItem > navigationItems } ) =
_ $HomeBodySelectorStateImpl ;
2024-04-30 23:38:49 +08:00
@ override
2024-05-20 15:15:09 +08:00
List < NavigationItem > get navigationItems ;
2024-04-30 23:38:49 +08:00
@ override
@ JsonKey ( ignore: true )
2024-05-20 15:15:09 +08:00
_ $ $HomeBodySelectorStateImplCopyWith < _ $HomeBodySelectorStateImpl >
2024-04-30 23:38:49 +08:00
get copyWith = > throw _privateConstructorUsedError ;
}
2024-05-03 14:31:10 +08:00
2024-05-04 00:14:07 +08:00
/// @nodoc
mixin _ $ProxiesCardSelectorState {
2024-05-06 14:03:45 +08:00
bool get isSelected = > throw _privateConstructorUsedError ;
2024-05-04 00:14:07 +08:00
@ JsonKey ( ignore: true )
$ProxiesCardSelectorStateCopyWith < ProxiesCardSelectorState > get copyWith = >
throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $ProxiesCardSelectorStateCopyWith < $Res > {
factory $ProxiesCardSelectorStateCopyWith ( ProxiesCardSelectorState value ,
$Res Function ( ProxiesCardSelectorState ) then ) =
_ $ProxiesCardSelectorStateCopyWithImpl < $Res , ProxiesCardSelectorState > ;
@ useResult
2024-05-10 10:11:27 +08:00
$Res call ( { bool isSelected } ) ;
2024-05-04 00:14:07 +08:00
}
/// @nodoc
class _ $ProxiesCardSelectorStateCopyWithImpl < $Res ,
$Val extends ProxiesCardSelectorState >
implements $ProxiesCardSelectorStateCopyWith < $Res > {
_ $ProxiesCardSelectorStateCopyWithImpl ( 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-05-06 14:03:45 +08:00
Object ? isSelected = null ,
2024-05-04 00:14:07 +08:00
} ) {
return _then ( _value . copyWith (
2024-05-06 14:03:45 +08:00
isSelected: null = = isSelected
? _value . isSelected
: isSelected // ignore: cast_nullable_to_non_nullable
as bool ,
2024-05-04 00:14:07 +08:00
) as $Val ) ;
}
}
/// @nodoc
abstract class _ $ $ProxiesCardSelectorStateImplCopyWith < $Res >
implements $ProxiesCardSelectorStateCopyWith < $Res > {
factory _ $ $ProxiesCardSelectorStateImplCopyWith (
_ $ProxiesCardSelectorStateImpl value ,
$Res Function ( _ $ProxiesCardSelectorStateImpl ) then ) =
__ $ $ProxiesCardSelectorStateImplCopyWithImpl < $Res > ;
@ override
@ useResult
2024-05-10 10:11:27 +08:00
$Res call ( { bool isSelected } ) ;
2024-05-04 00:14:07 +08:00
}
/// @nodoc
class __ $ $ProxiesCardSelectorStateImplCopyWithImpl < $Res >
extends _ $ProxiesCardSelectorStateCopyWithImpl < $Res ,
_ $ProxiesCardSelectorStateImpl >
implements _ $ $ProxiesCardSelectorStateImplCopyWith < $Res > {
__ $ $ProxiesCardSelectorStateImplCopyWithImpl (
_ $ProxiesCardSelectorStateImpl _value ,
$Res Function ( _ $ProxiesCardSelectorStateImpl ) _then )
: super ( _value , _then ) ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
2024-05-06 14:03:45 +08:00
Object ? isSelected = null ,
2024-05-04 00:14:07 +08:00
} ) {
return _then ( _ $ProxiesCardSelectorStateImpl (
2024-05-06 14:03:45 +08:00
isSelected: null = = isSelected
? _value . isSelected
: isSelected // ignore: cast_nullable_to_non_nullable
as bool ,
2024-05-04 00:14:07 +08:00
) ) ;
}
}
/// @nodoc
class _ $ProxiesCardSelectorStateImpl implements _ProxiesCardSelectorState {
2024-05-10 10:11:27 +08:00
const _ $ProxiesCardSelectorStateImpl ( { required this . isSelected } ) ;
2024-05-04 00:14:07 +08:00
2024-05-06 14:03:45 +08:00
@ override
final bool isSelected ;
2024-05-04 00:14:07 +08:00
@ override
String toString ( ) {
2024-05-10 10:11:27 +08:00
return ' ProxiesCardSelectorState(isSelected: $ isSelected ) ' ;
2024-05-04 00:14:07 +08:00
}
@ override
bool operator = = ( Object other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
other is _ $ProxiesCardSelectorStateImpl & &
2024-05-06 14:03:45 +08:00
( identical ( other . isSelected , isSelected ) | |
other . isSelected = = isSelected ) ) ;
2024-05-04 00:14:07 +08:00
}
@ override
2024-05-10 10:11:27 +08:00
int get hashCode = > Object . hash ( runtimeType , isSelected ) ;
2024-05-04 00:14:07 +08:00
@ JsonKey ( ignore: true )
@ override
@ pragma ( ' vm:prefer-inline ' )
_ $ $ProxiesCardSelectorStateImplCopyWith < _ $ProxiesCardSelectorStateImpl >
get copyWith = > __ $ $ProxiesCardSelectorStateImplCopyWithImpl <
_ $ProxiesCardSelectorStateImpl > ( this , _ $identity ) ;
}
abstract class _ProxiesCardSelectorState implements ProxiesCardSelectorState {
2024-05-10 10:11:27 +08:00
const factory _ProxiesCardSelectorState ( { required final bool isSelected } ) =
_ $ProxiesCardSelectorStateImpl ;
2024-05-04 00:14:07 +08:00
@ override
2024-05-06 14:03:45 +08:00
bool get isSelected ;
@ override
2024-05-04 00:14:07 +08:00
@ JsonKey ( ignore: true )
_ $ $ProxiesCardSelectorStateImplCopyWith < _ $ProxiesCardSelectorStateImpl >
get copyWith = > throw _privateConstructorUsedError ;
}
2024-05-06 10:32:39 +08:00
/// @nodoc
2024-05-07 13:50:00 +08:00
mixin _ $ProxiesSelectorState {
2024-05-10 10:11:27 +08:00
List < String > get groupNames = > throw _privateConstructorUsedError ;
2024-06-13 23:43:42 +08:00
String ? get currentGroupName = > throw _privateConstructorUsedError ;
2024-05-06 10:32:39 +08:00
@ JsonKey ( ignore: true )
2024-05-07 13:50:00 +08:00
$ProxiesSelectorStateCopyWith < ProxiesSelectorState > get copyWith = >
throw _privateConstructorUsedError ;
2024-05-06 10:32:39 +08:00
}
/// @nodoc
2024-05-07 13:50:00 +08:00
abstract class $ProxiesSelectorStateCopyWith < $Res > {
factory $ProxiesSelectorStateCopyWith ( ProxiesSelectorState value ,
$Res Function ( ProxiesSelectorState ) then ) =
_ $ProxiesSelectorStateCopyWithImpl < $Res , ProxiesSelectorState > ;
2024-05-06 10:32:39 +08:00
@ useResult
2024-06-13 23:43:42 +08:00
$Res call ( { List < String > groupNames , String ? currentGroupName } ) ;
2024-05-06 10:32:39 +08:00
}
/// @nodoc
2024-05-07 13:50:00 +08:00
class _ $ProxiesSelectorStateCopyWithImpl < $Res ,
$Val extends ProxiesSelectorState >
implements $ProxiesSelectorStateCopyWith < $Res > {
_ $ProxiesSelectorStateCopyWithImpl ( this . _value , this . _then ) ;
2024-05-06 10:32:39 +08:00
// ignore: unused_field
final $Val _value ;
// ignore: unused_field
final $Res Function ( $Val ) _then ;
2024-05-10 10:11:27 +08:00
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? groupNames = null ,
2024-06-13 23:43:42 +08:00
Object ? currentGroupName = freezed ,
2024-05-10 10:11:27 +08:00
} ) {
return _then ( _value . copyWith (
groupNames: null = = groupNames
? _value . groupNames
: groupNames // ignore: cast_nullable_to_non_nullable
as List < String > ,
2024-06-13 23:43:42 +08:00
currentGroupName: freezed = = currentGroupName
? _value . currentGroupName
: currentGroupName // ignore: cast_nullable_to_non_nullable
as String ? ,
2024-05-10 10:11:27 +08:00
) as $Val ) ;
}
}
/// @nodoc
abstract class _ $ $ProxiesSelectorStateImplCopyWith < $Res >
implements $ProxiesSelectorStateCopyWith < $Res > {
factory _ $ $ProxiesSelectorStateImplCopyWith ( _ $ProxiesSelectorStateImpl value ,
$Res Function ( _ $ProxiesSelectorStateImpl ) then ) =
__ $ $ProxiesSelectorStateImplCopyWithImpl < $Res > ;
@ override
@ useResult
2024-06-13 23:43:42 +08:00
$Res call ( { List < String > groupNames , String ? currentGroupName } ) ;
2024-05-10 10:11:27 +08:00
}
/// @nodoc
class __ $ $ProxiesSelectorStateImplCopyWithImpl < $Res >
extends _ $ProxiesSelectorStateCopyWithImpl < $Res , _ $ProxiesSelectorStateImpl >
implements _ $ $ProxiesSelectorStateImplCopyWith < $Res > {
__ $ $ProxiesSelectorStateImplCopyWithImpl ( _ $ProxiesSelectorStateImpl _value ,
$Res Function ( _ $ProxiesSelectorStateImpl ) _then )
: super ( _value , _then ) ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? groupNames = null ,
2024-06-13 23:43:42 +08:00
Object ? currentGroupName = freezed ,
2024-05-10 10:11:27 +08:00
} ) {
return _then ( _ $ProxiesSelectorStateImpl (
groupNames: null = = groupNames
? _value . _groupNames
: groupNames // ignore: cast_nullable_to_non_nullable
as List < String > ,
2024-06-13 23:43:42 +08:00
currentGroupName: freezed = = currentGroupName
? _value . currentGroupName
: currentGroupName // ignore: cast_nullable_to_non_nullable
as String ? ,
2024-05-10 10:11:27 +08:00
) ) ;
}
}
/// @nodoc
class _ $ProxiesSelectorStateImpl implements _ProxiesSelectorState {
2024-06-13 23:43:42 +08:00
const _ $ProxiesSelectorStateImpl (
{ required final List < String > groupNames , required this . currentGroupName } )
2024-05-10 10:11:27 +08:00
: _groupNames = groupNames ;
final List < String > _groupNames ;
@ override
List < String > get groupNames {
if ( _groupNames is EqualUnmodifiableListView ) return _groupNames ;
// ignore: implicit_dynamic_type
return EqualUnmodifiableListView ( _groupNames ) ;
}
2024-06-13 23:43:42 +08:00
@ override
final String ? currentGroupName ;
2024-05-10 10:11:27 +08:00
@ override
String toString ( ) {
2024-06-13 23:43:42 +08:00
return ' ProxiesSelectorState(groupNames: $ groupNames , currentGroupName: $ currentGroupName ) ' ;
2024-05-10 10:11:27 +08:00
}
@ override
bool operator = = ( Object other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
other is _ $ProxiesSelectorStateImpl & &
const DeepCollectionEquality ( )
2024-06-13 23:43:42 +08:00
. equals ( other . _groupNames , _groupNames ) & &
( identical ( other . currentGroupName , currentGroupName ) | |
other . currentGroupName = = currentGroupName ) ) ;
2024-05-10 10:11:27 +08:00
}
@ override
2024-06-13 23:43:42 +08:00
int get hashCode = > Object . hash ( runtimeType ,
const DeepCollectionEquality ( ) . hash ( _groupNames ) , currentGroupName ) ;
2024-05-10 10:11:27 +08:00
@ JsonKey ( ignore: true )
@ override
@ pragma ( ' vm:prefer-inline ' )
_ $ $ProxiesSelectorStateImplCopyWith < _ $ProxiesSelectorStateImpl >
get copyWith = >
__ $ $ProxiesSelectorStateImplCopyWithImpl < _ $ProxiesSelectorStateImpl > (
this , _ $identity ) ;
}
abstract class _ProxiesSelectorState implements ProxiesSelectorState {
const factory _ProxiesSelectorState (
2024-06-13 23:43:42 +08:00
{ required final List < String > groupNames ,
required final String ? currentGroupName } ) = _ $ProxiesSelectorStateImpl ;
2024-05-10 10:11:27 +08:00
@ override
List < String > get groupNames ;
@ override
2024-06-13 23:43:42 +08:00
String ? get currentGroupName ;
@ override
2024-05-10 10:11:27 +08:00
@ JsonKey ( ignore: true )
_ $ $ProxiesSelectorStateImplCopyWith < _ $ProxiesSelectorStateImpl >
get copyWith = > throw _privateConstructorUsedError ;
}
/// @nodoc
2024-06-23 00:26:24 +08:00
mixin _ $ProxyGroupSelectorState {
2024-05-10 10:11:27 +08:00
ProxiesSortType get proxiesSortType = > throw _privateConstructorUsedError ;
2024-06-23 00:26:24 +08:00
ProxyCardType get proxyCardType = > throw _privateConstructorUsedError ;
2024-05-10 10:11:27 +08:00
num get sortNum = > throw _privateConstructorUsedError ;
2024-06-23 00:26:24 +08:00
List < Proxy > get proxies = > throw _privateConstructorUsedError ;
int get columns = > throw _privateConstructorUsedError ;
2024-05-10 10:11:27 +08:00
@ JsonKey ( ignore: true )
2024-06-23 00:26:24 +08:00
$ProxyGroupSelectorStateCopyWith < ProxyGroupSelectorState > get copyWith = >
throw _privateConstructorUsedError ;
2024-05-10 10:11:27 +08:00
}
/// @nodoc
2024-06-23 00:26:24 +08:00
abstract class $ProxyGroupSelectorStateCopyWith < $Res > {
factory $ProxyGroupSelectorStateCopyWith ( ProxyGroupSelectorState value ,
$Res Function ( ProxyGroupSelectorState ) then ) =
_ $ProxyGroupSelectorStateCopyWithImpl < $Res , ProxyGroupSelectorState > ;
2024-05-10 10:11:27 +08:00
@ useResult
2024-05-20 15:15:09 +08:00
$Res call (
{ ProxiesSortType proxiesSortType ,
2024-06-23 00:26:24 +08:00
ProxyCardType proxyCardType ,
2024-05-20 15:15:09 +08:00
num sortNum ,
2024-06-23 00:26:24 +08:00
List < Proxy > proxies ,
int columns } ) ;
2024-05-10 10:11:27 +08:00
}
/// @nodoc
2024-06-23 00:26:24 +08:00
class _ $ProxyGroupSelectorStateCopyWithImpl < $Res ,
$Val extends ProxyGroupSelectorState >
implements $ProxyGroupSelectorStateCopyWith < $Res > {
_ $ProxyGroupSelectorStateCopyWithImpl ( this . _value , this . _then ) ;
2024-05-10 10:11:27 +08:00
// ignore: unused_field
final $Val _value ;
// ignore: unused_field
final $Res Function ( $Val ) _then ;
2024-05-06 10:32:39 +08:00
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? proxiesSortType = null ,
2024-06-23 00:26:24 +08:00
Object ? proxyCardType = null ,
2024-05-06 10:32:39 +08:00
Object ? sortNum = null ,
2024-06-23 00:26:24 +08:00
Object ? proxies = null ,
Object ? columns = null ,
2024-05-06 10:32:39 +08:00
} ) {
return _then ( _value . copyWith (
proxiesSortType: null = = proxiesSortType
? _value . proxiesSortType
: proxiesSortType // ignore: cast_nullable_to_non_nullable
as ProxiesSortType ,
2024-06-23 00:26:24 +08:00
proxyCardType: null = = proxyCardType
? _value . proxyCardType
: proxyCardType // ignore: cast_nullable_to_non_nullable
as ProxyCardType ,
2024-05-06 10:32:39 +08:00
sortNum: null = = sortNum
? _value . sortNum
: sortNum // ignore: cast_nullable_to_non_nullable
as num ,
2024-06-23 00:26:24 +08:00
proxies: null = = proxies
? _value . proxies
: proxies // ignore: cast_nullable_to_non_nullable
as List < Proxy > ,
columns: null = = columns
? _value . columns
: columns // ignore: cast_nullable_to_non_nullable
as int ,
2024-05-06 10:32:39 +08:00
) as $Val ) ;
}
}
/// @nodoc
2024-06-23 00:26:24 +08:00
abstract class _ $ $ProxyGroupSelectorStateImplCopyWith < $Res >
implements $ProxyGroupSelectorStateCopyWith < $Res > {
factory _ $ $ProxyGroupSelectorStateImplCopyWith (
_ $ProxyGroupSelectorStateImpl value ,
$Res Function ( _ $ProxyGroupSelectorStateImpl ) then ) =
__ $ $ProxyGroupSelectorStateImplCopyWithImpl < $Res > ;
2024-05-06 10:32:39 +08:00
@ override
@ useResult
2024-05-20 15:15:09 +08:00
$Res call (
{ ProxiesSortType proxiesSortType ,
2024-06-23 00:26:24 +08:00
ProxyCardType proxyCardType ,
2024-05-20 15:15:09 +08:00
num sortNum ,
2024-06-23 00:26:24 +08:00
List < Proxy > proxies ,
int columns } ) ;
2024-05-06 10:32:39 +08:00
}
/// @nodoc
2024-06-23 00:26:24 +08:00
class __ $ $ProxyGroupSelectorStateImplCopyWithImpl < $Res >
extends _ $ProxyGroupSelectorStateCopyWithImpl < $Res ,
_ $ProxyGroupSelectorStateImpl >
implements _ $ $ProxyGroupSelectorStateImplCopyWith < $Res > {
__ $ $ProxyGroupSelectorStateImplCopyWithImpl (
_ $ProxyGroupSelectorStateImpl _value ,
$Res Function ( _ $ProxyGroupSelectorStateImpl ) _then )
2024-05-06 10:32:39 +08:00
: super ( _value , _then ) ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? proxiesSortType = null ,
2024-06-23 00:26:24 +08:00
Object ? proxyCardType = null ,
2024-05-06 10:32:39 +08:00
Object ? sortNum = null ,
2024-06-23 00:26:24 +08:00
Object ? proxies = null ,
Object ? columns = null ,
2024-05-06 10:32:39 +08:00
} ) {
2024-06-23 00:26:24 +08:00
return _then ( _ $ProxyGroupSelectorStateImpl (
2024-05-06 10:32:39 +08:00
proxiesSortType: null = = proxiesSortType
? _value . proxiesSortType
: proxiesSortType // ignore: cast_nullable_to_non_nullable
as ProxiesSortType ,
2024-06-23 00:26:24 +08:00
proxyCardType: null = = proxyCardType
? _value . proxyCardType
: proxyCardType // ignore: cast_nullable_to_non_nullable
as ProxyCardType ,
2024-05-06 10:32:39 +08:00
sortNum: null = = sortNum
? _value . sortNum
: sortNum // ignore: cast_nullable_to_non_nullable
as num ,
2024-06-23 00:26:24 +08:00
proxies: null = = proxies
? _value . _proxies
: proxies // ignore: cast_nullable_to_non_nullable
as List < Proxy > ,
columns: null = = columns
? _value . columns
: columns // ignore: cast_nullable_to_non_nullable
as int ,
2024-05-06 10:32:39 +08:00
) ) ;
}
}
/// @nodoc
2024-06-23 00:26:24 +08:00
class _ $ProxyGroupSelectorStateImpl implements _ProxyGroupSelectorState {
const _ $ProxyGroupSelectorStateImpl (
2024-05-06 14:03:45 +08:00
{ required this . proxiesSortType ,
2024-06-23 00:26:24 +08:00
required this . proxyCardType ,
2024-05-06 14:03:45 +08:00
required this . sortNum ,
2024-06-23 00:26:24 +08:00
required final List < Proxy > proxies ,
required this . columns } )
: _proxies = proxies ;
2024-05-06 10:32:39 +08:00
@ override
final ProxiesSortType proxiesSortType ;
@ override
2024-06-23 00:26:24 +08:00
final ProxyCardType proxyCardType ;
@ override
2024-05-06 10:32:39 +08:00
final num sortNum ;
2024-06-23 00:26:24 +08:00
final List < Proxy > _proxies ;
2024-05-06 14:03:45 +08:00
@ override
2024-06-23 00:26:24 +08:00
List < Proxy > get proxies {
if ( _proxies is EqualUnmodifiableListView ) return _proxies ;
// ignore: implicit_dynamic_type
return EqualUnmodifiableListView ( _proxies ) ;
}
2024-05-20 15:15:09 +08:00
@ override
2024-06-23 00:26:24 +08:00
final int columns ;
2024-05-06 10:32:39 +08:00
@ override
String toString ( ) {
2024-06-23 00:26:24 +08:00
return ' ProxyGroupSelectorState(proxiesSortType: $ proxiesSortType , proxyCardType: $ proxyCardType , sortNum: $ sortNum , proxies: $ proxies , columns: $ columns ) ' ;
2024-05-06 10:32:39 +08:00
}
@ override
bool operator = = ( Object other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
2024-06-23 00:26:24 +08:00
other is _ $ProxyGroupSelectorStateImpl & &
2024-05-06 10:32:39 +08:00
( identical ( other . proxiesSortType , proxiesSortType ) | |
other . proxiesSortType = = proxiesSortType ) & &
2024-06-23 00:26:24 +08:00
( identical ( other . proxyCardType , proxyCardType ) | |
other . proxyCardType = = proxyCardType ) & &
2024-05-06 14:03:45 +08:00
( identical ( other . sortNum , sortNum ) | | other . sortNum = = sortNum ) & &
2024-06-23 00:26:24 +08:00
const DeepCollectionEquality ( ) . equals ( other . _proxies , _proxies ) & &
( identical ( other . columns , columns ) | | other . columns = = columns ) ) ;
2024-05-06 10:32:39 +08:00
}
@ override
2024-06-23 00:26:24 +08:00
int get hashCode = > Object . hash ( runtimeType , proxiesSortType , proxyCardType ,
sortNum , const DeepCollectionEquality ( ) . hash ( _proxies ) , columns ) ;
2024-05-06 10:32:39 +08:00
@ JsonKey ( ignore: true )
@ override
@ pragma ( ' vm:prefer-inline ' )
2024-06-23 00:26:24 +08:00
_ $ $ProxyGroupSelectorStateImplCopyWith < _ $ProxyGroupSelectorStateImpl >
get copyWith = > __ $ $ProxyGroupSelectorStateImplCopyWithImpl <
_ $ProxyGroupSelectorStateImpl > ( this , _ $identity ) ;
2024-05-06 10:32:39 +08:00
}
2024-06-23 00:26:24 +08:00
abstract class _ProxyGroupSelectorState implements ProxyGroupSelectorState {
const factory _ProxyGroupSelectorState (
2024-05-06 10:32:39 +08:00
{ required final ProxiesSortType proxiesSortType ,
2024-06-23 00:26:24 +08:00
required final ProxyCardType proxyCardType ,
2024-05-06 14:03:45 +08:00
required final num sortNum ,
2024-06-23 00:26:24 +08:00
required final List < Proxy > proxies ,
required final int columns } ) = _ $ProxyGroupSelectorStateImpl ;
2024-05-06 10:32:39 +08:00
@ override
ProxiesSortType get proxiesSortType ;
@ override
2024-06-23 00:26:24 +08:00
ProxyCardType get proxyCardType ;
@ override
2024-05-06 10:32:39 +08:00
num get sortNum ;
@ override
2024-06-23 00:26:24 +08:00
List < Proxy > get proxies ;
2024-05-06 14:03:45 +08:00
@ override
2024-06-23 00:26:24 +08:00
int get columns ;
2024-05-20 15:15:09 +08:00
@ override
2024-05-06 10:32:39 +08:00
@ JsonKey ( ignore: true )
2024-06-23 00:26:24 +08:00
_ $ $ProxyGroupSelectorStateImplCopyWith < _ $ProxyGroupSelectorStateImpl >
2024-05-06 10:32:39 +08:00
get copyWith = > throw _privateConstructorUsedError ;
}
2024-05-20 15:15:09 +08:00
/// @nodoc
mixin _ $MoreToolsSelectorState {
List < NavigationItem > get navigationItems = >
throw _privateConstructorUsedError ;
@ JsonKey ( ignore: true )
$MoreToolsSelectorStateCopyWith < MoreToolsSelectorState > get copyWith = >
throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $MoreToolsSelectorStateCopyWith < $Res > {
factory $MoreToolsSelectorStateCopyWith ( MoreToolsSelectorState value ,
$Res Function ( MoreToolsSelectorState ) then ) =
_ $MoreToolsSelectorStateCopyWithImpl < $Res , MoreToolsSelectorState > ;
@ useResult
$Res call ( { List < NavigationItem > navigationItems } ) ;
}
/// @nodoc
class _ $MoreToolsSelectorStateCopyWithImpl < $Res ,
$Val extends MoreToolsSelectorState >
implements $MoreToolsSelectorStateCopyWith < $Res > {
_ $MoreToolsSelectorStateCopyWithImpl ( 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 ? navigationItems = null ,
} ) {
return _then ( _value . copyWith (
navigationItems: null = = navigationItems
? _value . navigationItems
: navigationItems // ignore: cast_nullable_to_non_nullable
as List < NavigationItem > ,
) as $Val ) ;
}
}
/// @nodoc
abstract class _ $ $MoreToolsSelectorStateImplCopyWith < $Res >
implements $MoreToolsSelectorStateCopyWith < $Res > {
factory _ $ $MoreToolsSelectorStateImplCopyWith (
_ $MoreToolsSelectorStateImpl value ,
$Res Function ( _ $MoreToolsSelectorStateImpl ) then ) =
__ $ $MoreToolsSelectorStateImplCopyWithImpl < $Res > ;
@ override
@ useResult
$Res call ( { List < NavigationItem > navigationItems } ) ;
}
/// @nodoc
class __ $ $MoreToolsSelectorStateImplCopyWithImpl < $Res >
extends _ $MoreToolsSelectorStateCopyWithImpl < $Res ,
_ $MoreToolsSelectorStateImpl >
implements _ $ $MoreToolsSelectorStateImplCopyWith < $Res > {
__ $ $MoreToolsSelectorStateImplCopyWithImpl (
_ $MoreToolsSelectorStateImpl _value ,
$Res Function ( _ $MoreToolsSelectorStateImpl ) _then )
: super ( _value , _then ) ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? navigationItems = null ,
} ) {
return _then ( _ $MoreToolsSelectorStateImpl (
navigationItems: null = = navigationItems
? _value . _navigationItems
: navigationItems // ignore: cast_nullable_to_non_nullable
as List < NavigationItem > ,
) ) ;
}
}
/// @nodoc
class _ $MoreToolsSelectorStateImpl implements _MoreToolsSelectorState {
const _ $MoreToolsSelectorStateImpl (
{ required final List < NavigationItem > navigationItems } )
: _navigationItems = navigationItems ;
final List < NavigationItem > _navigationItems ;
@ override
List < NavigationItem > get navigationItems {
if ( _navigationItems is EqualUnmodifiableListView ) return _navigationItems ;
// ignore: implicit_dynamic_type
return EqualUnmodifiableListView ( _navigationItems ) ;
}
@ override
String toString ( ) {
return ' MoreToolsSelectorState(navigationItems: $ navigationItems ) ' ;
}
@ override
bool operator = = ( Object other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
other is _ $MoreToolsSelectorStateImpl & &
const DeepCollectionEquality ( )
. equals ( other . _navigationItems , _navigationItems ) ) ;
}
@ override
int get hashCode = > Object . hash (
runtimeType , const DeepCollectionEquality ( ) . hash ( _navigationItems ) ) ;
@ JsonKey ( ignore: true )
@ override
@ pragma ( ' vm:prefer-inline ' )
_ $ $MoreToolsSelectorStateImplCopyWith < _ $MoreToolsSelectorStateImpl >
get copyWith = > __ $ $MoreToolsSelectorStateImplCopyWithImpl <
_ $MoreToolsSelectorStateImpl > ( this , _ $identity ) ;
}
abstract class _MoreToolsSelectorState implements MoreToolsSelectorState {
const factory _MoreToolsSelectorState (
{ required final List < NavigationItem > navigationItems } ) =
_ $MoreToolsSelectorStateImpl ;
@ override
List < NavigationItem > get navigationItems ;
@ override
@ JsonKey ( ignore: true )
_ $ $MoreToolsSelectorStateImplCopyWith < _ $MoreToolsSelectorStateImpl >
get copyWith = > throw _privateConstructorUsedError ;
}
2024-06-03 11:24:41 +08:00
/// @nodoc
mixin _ $PackageListSelectorState {
AccessControl get accessControl = > throw _privateConstructorUsedError ;
bool get isAccessControl = > throw _privateConstructorUsedError ;
@ JsonKey ( ignore: true )
$PackageListSelectorStateCopyWith < PackageListSelectorState > get copyWith = >
throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $PackageListSelectorStateCopyWith < $Res > {
factory $PackageListSelectorStateCopyWith ( PackageListSelectorState value ,
$Res Function ( PackageListSelectorState ) then ) =
_ $PackageListSelectorStateCopyWithImpl < $Res , PackageListSelectorState > ;
@ useResult
$Res call ( { AccessControl accessControl , bool isAccessControl } ) ;
$AccessControlCopyWith < $Res > get accessControl ;
}
/// @nodoc
class _ $PackageListSelectorStateCopyWithImpl < $Res ,
$Val extends PackageListSelectorState >
implements $PackageListSelectorStateCopyWith < $Res > {
_ $PackageListSelectorStateCopyWithImpl ( 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 ? accessControl = null ,
Object ? isAccessControl = null ,
} ) {
return _then ( _value . copyWith (
accessControl: null = = accessControl
? _value . accessControl
: accessControl // ignore: cast_nullable_to_non_nullable
as AccessControl ,
isAccessControl: null = = isAccessControl
? _value . isAccessControl
: isAccessControl // ignore: cast_nullable_to_non_nullable
as bool ,
) as $Val ) ;
}
@ override
@ pragma ( ' vm:prefer-inline ' )
$AccessControlCopyWith < $Res > get accessControl {
return $AccessControlCopyWith < $Res > ( _value . accessControl , ( value ) {
return _then ( _value . copyWith ( accessControl: value ) as $Val ) ;
} ) ;
}
}
/// @nodoc
abstract class _ $ $PackageListSelectorStateImplCopyWith < $Res >
implements $PackageListSelectorStateCopyWith < $Res > {
factory _ $ $PackageListSelectorStateImplCopyWith (
_ $PackageListSelectorStateImpl value ,
$Res Function ( _ $PackageListSelectorStateImpl ) then ) =
__ $ $PackageListSelectorStateImplCopyWithImpl < $Res > ;
@ override
@ useResult
$Res call ( { AccessControl accessControl , bool isAccessControl } ) ;
@ override
$AccessControlCopyWith < $Res > get accessControl ;
}
/// @nodoc
class __ $ $PackageListSelectorStateImplCopyWithImpl < $Res >
extends _ $PackageListSelectorStateCopyWithImpl < $Res ,
_ $PackageListSelectorStateImpl >
implements _ $ $PackageListSelectorStateImplCopyWith < $Res > {
__ $ $PackageListSelectorStateImplCopyWithImpl (
_ $PackageListSelectorStateImpl _value ,
$Res Function ( _ $PackageListSelectorStateImpl ) _then )
: super ( _value , _then ) ;
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? accessControl = null ,
Object ? isAccessControl = null ,
} ) {
return _then ( _ $PackageListSelectorStateImpl (
accessControl: null = = accessControl
? _value . accessControl
: accessControl // ignore: cast_nullable_to_non_nullable
as AccessControl ,
isAccessControl: null = = isAccessControl
? _value . isAccessControl
: isAccessControl // ignore: cast_nullable_to_non_nullable
as bool ,
) ) ;
}
}
/// @nodoc
class _ $PackageListSelectorStateImpl implements _PackageListSelectorState {
const _ $PackageListSelectorStateImpl (
{ required this . accessControl , required this . isAccessControl } ) ;
@ override
final AccessControl accessControl ;
@ override
final bool isAccessControl ;
@ override
String toString ( ) {
return ' PackageListSelectorState(accessControl: $ accessControl , isAccessControl: $ isAccessControl ) ' ;
}
@ override
bool operator = = ( Object other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
other is _ $PackageListSelectorStateImpl & &
( identical ( other . accessControl , accessControl ) | |
other . accessControl = = accessControl ) & &
( identical ( other . isAccessControl , isAccessControl ) | |
other . isAccessControl = = isAccessControl ) ) ;
}
@ override
int get hashCode = > Object . hash ( runtimeType , accessControl , isAccessControl ) ;
@ JsonKey ( ignore: true )
@ override
@ pragma ( ' vm:prefer-inline ' )
_ $ $PackageListSelectorStateImplCopyWith < _ $PackageListSelectorStateImpl >
get copyWith = > __ $ $PackageListSelectorStateImplCopyWithImpl <
_ $PackageListSelectorStateImpl > ( this , _ $identity ) ;
}
abstract class _PackageListSelectorState implements PackageListSelectorState {
const factory _PackageListSelectorState (
{ required final AccessControl accessControl ,
required final bool isAccessControl } ) = _ $PackageListSelectorStateImpl ;
@ override
AccessControl get accessControl ;
@ override
bool get isAccessControl ;
@ override
@ JsonKey ( ignore: true )
_ $ $PackageListSelectorStateImplCopyWith < _ $PackageListSelectorStateImpl >
get copyWith = > throw _privateConstructorUsedError ;
}