2024-05-03 22:35:31 +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 ' advanced_localization_ui_model.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 _ $AdvancedLocalizationUIState {
String get workingText = > throw _privateConstructorUsedError ;
Map < String , AppAdvancedLocalizationClassKeysData > ? get classMap = >
throw _privateConstructorUsedError ;
String ? get p4kGlobalIni = > throw _privateConstructorUsedError ;
String ? get serverGlobalIni = > throw _privateConstructorUsedError ;
2024-05-05 20:58:58 +08:00
String ? get customizeGlobalIni = > throw _privateConstructorUsedError ;
2024-05-05 14:59:07 +08:00
ScLocalizationData ? get apiLocalizationData = >
throw _privateConstructorUsedError ;
int get p4kGlobalIniLines = > throw _privateConstructorUsedError ;
int get serverGlobalIniLines = > throw _privateConstructorUsedError ;
2024-05-05 21:50:18 +08:00
String get errorMessage = > throw _privateConstructorUsedError ;
2024-05-03 22:35:31 +08:00
2024-09-04 12:22:13 +08:00
/// Create a copy of AdvancedLocalizationUIState
/// with the given fields replaced by the non-null parameter values.
@ JsonKey ( includeFromJson: false , includeToJson: false )
2024-05-03 22:35:31 +08:00
$AdvancedLocalizationUIStateCopyWith < AdvancedLocalizationUIState >
get copyWith = > throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $AdvancedLocalizationUIStateCopyWith < $Res > {
factory $AdvancedLocalizationUIStateCopyWith (
AdvancedLocalizationUIState value ,
$Res Function ( AdvancedLocalizationUIState ) then ) =
_ $AdvancedLocalizationUIStateCopyWithImpl < $Res ,
AdvancedLocalizationUIState > ;
@ useResult
$Res call (
{ String workingText ,
Map < String , AppAdvancedLocalizationClassKeysData > ? classMap ,
String ? p4kGlobalIni ,
2024-05-05 14:59:07 +08:00
String ? serverGlobalIni ,
2024-05-05 20:58:58 +08:00
String ? customizeGlobalIni ,
2024-05-05 14:59:07 +08:00
ScLocalizationData ? apiLocalizationData ,
int p4kGlobalIniLines ,
2024-05-05 21:50:18 +08:00
int serverGlobalIniLines ,
String errorMessage } ) ;
2024-05-03 22:35:31 +08:00
}
/// @nodoc
class _ $AdvancedLocalizationUIStateCopyWithImpl < $Res ,
$Val extends AdvancedLocalizationUIState >
implements $AdvancedLocalizationUIStateCopyWith < $Res > {
_ $AdvancedLocalizationUIStateCopyWithImpl ( this . _value , this . _then ) ;
// ignore: unused_field
final $Val _value ;
// ignore: unused_field
final $Res Function ( $Val ) _then ;
2024-09-04 12:22:13 +08:00
/// Create a copy of AdvancedLocalizationUIState
/// with the given fields replaced by the non-null parameter values.
2024-05-03 22:35:31 +08:00
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? workingText = null ,
Object ? classMap = freezed ,
Object ? p4kGlobalIni = freezed ,
Object ? serverGlobalIni = freezed ,
2024-05-05 20:58:58 +08:00
Object ? customizeGlobalIni = freezed ,
2024-05-05 14:59:07 +08:00
Object ? apiLocalizationData = freezed ,
Object ? p4kGlobalIniLines = null ,
Object ? serverGlobalIniLines = null ,
2024-05-05 21:50:18 +08:00
Object ? errorMessage = null ,
2024-05-03 22:35:31 +08:00
} ) {
return _then ( _value . copyWith (
workingText: null = = workingText
? _value . workingText
: workingText // ignore: cast_nullable_to_non_nullable
as String ,
classMap: freezed = = classMap
? _value . classMap
: classMap // ignore: cast_nullable_to_non_nullable
as Map < String , AppAdvancedLocalizationClassKeysData > ? ,
p4kGlobalIni: freezed = = p4kGlobalIni
? _value . p4kGlobalIni
: p4kGlobalIni // ignore: cast_nullable_to_non_nullable
as String ? ,
serverGlobalIni: freezed = = serverGlobalIni
? _value . serverGlobalIni
: serverGlobalIni // ignore: cast_nullable_to_non_nullable
as String ? ,
2024-05-05 20:58:58 +08:00
customizeGlobalIni: freezed = = customizeGlobalIni
? _value . customizeGlobalIni
: customizeGlobalIni // ignore: cast_nullable_to_non_nullable
as String ? ,
2024-05-05 14:59:07 +08:00
apiLocalizationData: freezed = = apiLocalizationData
? _value . apiLocalizationData
: apiLocalizationData // ignore: cast_nullable_to_non_nullable
as ScLocalizationData ? ,
p4kGlobalIniLines: null = = p4kGlobalIniLines
? _value . p4kGlobalIniLines
: p4kGlobalIniLines // ignore: cast_nullable_to_non_nullable
as int ,
serverGlobalIniLines: null = = serverGlobalIniLines
? _value . serverGlobalIniLines
: serverGlobalIniLines // ignore: cast_nullable_to_non_nullable
as int ,
2024-05-05 21:50:18 +08:00
errorMessage: null = = errorMessage
? _value . errorMessage
: errorMessage // ignore: cast_nullable_to_non_nullable
as String ,
2024-05-03 22:35:31 +08:00
) as $Val ) ;
}
}
/// @nodoc
abstract class _ $ $AdvancedLocalizationUIStateImplCopyWith < $Res >
implements $AdvancedLocalizationUIStateCopyWith < $Res > {
factory _ $ $AdvancedLocalizationUIStateImplCopyWith (
_ $AdvancedLocalizationUIStateImpl value ,
$Res Function ( _ $AdvancedLocalizationUIStateImpl ) then ) =
__ $ $AdvancedLocalizationUIStateImplCopyWithImpl < $Res > ;
@ override
@ useResult
$Res call (
{ String workingText ,
Map < String , AppAdvancedLocalizationClassKeysData > ? classMap ,
String ? p4kGlobalIni ,
2024-05-05 14:59:07 +08:00
String ? serverGlobalIni ,
2024-05-05 20:58:58 +08:00
String ? customizeGlobalIni ,
2024-05-05 14:59:07 +08:00
ScLocalizationData ? apiLocalizationData ,
int p4kGlobalIniLines ,
2024-05-05 21:50:18 +08:00
int serverGlobalIniLines ,
String errorMessage } ) ;
2024-05-03 22:35:31 +08:00
}
/// @nodoc
class __ $ $AdvancedLocalizationUIStateImplCopyWithImpl < $Res >
extends _ $AdvancedLocalizationUIStateCopyWithImpl < $Res ,
_ $AdvancedLocalizationUIStateImpl >
implements _ $ $AdvancedLocalizationUIStateImplCopyWith < $Res > {
__ $ $AdvancedLocalizationUIStateImplCopyWithImpl (
_ $AdvancedLocalizationUIStateImpl _value ,
$Res Function ( _ $AdvancedLocalizationUIStateImpl ) _then )
: super ( _value , _then ) ;
2024-09-04 12:22:13 +08:00
/// Create a copy of AdvancedLocalizationUIState
/// with the given fields replaced by the non-null parameter values.
2024-05-03 22:35:31 +08:00
@ pragma ( ' vm:prefer-inline ' )
@ override
$Res call ( {
Object ? workingText = null ,
Object ? classMap = freezed ,
Object ? p4kGlobalIni = freezed ,
Object ? serverGlobalIni = freezed ,
2024-05-05 20:58:58 +08:00
Object ? customizeGlobalIni = freezed ,
2024-05-05 14:59:07 +08:00
Object ? apiLocalizationData = freezed ,
Object ? p4kGlobalIniLines = null ,
Object ? serverGlobalIniLines = null ,
2024-05-05 21:50:18 +08:00
Object ? errorMessage = null ,
2024-05-03 22:35:31 +08:00
} ) {
return _then ( _ $AdvancedLocalizationUIStateImpl (
workingText: null = = workingText
? _value . workingText
: workingText // ignore: cast_nullable_to_non_nullable
as String ,
classMap: freezed = = classMap
? _value . _classMap
: classMap // ignore: cast_nullable_to_non_nullable
as Map < String , AppAdvancedLocalizationClassKeysData > ? ,
p4kGlobalIni: freezed = = p4kGlobalIni
? _value . p4kGlobalIni
: p4kGlobalIni // ignore: cast_nullable_to_non_nullable
as String ? ,
serverGlobalIni: freezed = = serverGlobalIni
? _value . serverGlobalIni
: serverGlobalIni // ignore: cast_nullable_to_non_nullable
as String ? ,
2024-05-05 20:58:58 +08:00
customizeGlobalIni: freezed = = customizeGlobalIni
? _value . customizeGlobalIni
: customizeGlobalIni // ignore: cast_nullable_to_non_nullable
as String ? ,
2024-05-05 14:59:07 +08:00
apiLocalizationData: freezed = = apiLocalizationData
? _value . apiLocalizationData
: apiLocalizationData // ignore: cast_nullable_to_non_nullable
as ScLocalizationData ? ,
p4kGlobalIniLines: null = = p4kGlobalIniLines
? _value . p4kGlobalIniLines
: p4kGlobalIniLines // ignore: cast_nullable_to_non_nullable
as int ,
serverGlobalIniLines: null = = serverGlobalIniLines
? _value . serverGlobalIniLines
: serverGlobalIniLines // ignore: cast_nullable_to_non_nullable
as int ,
2024-05-05 21:50:18 +08:00
errorMessage: null = = errorMessage
? _value . errorMessage
: errorMessage // ignore: cast_nullable_to_non_nullable
as String ,
2024-05-03 22:35:31 +08:00
) ) ;
}
}
/// @nodoc
class _ $AdvancedLocalizationUIStateImpl
with DiagnosticableTreeMixin
implements _AdvancedLocalizationUIState {
_ $AdvancedLocalizationUIStateImpl (
{ this . workingText = " " ,
final Map < String , AppAdvancedLocalizationClassKeysData > ? classMap ,
this . p4kGlobalIni ,
2024-05-05 14:59:07 +08:00
this . serverGlobalIni ,
2024-05-05 20:58:58 +08:00
this . customizeGlobalIni ,
2024-05-05 14:59:07 +08:00
this . apiLocalizationData ,
this . p4kGlobalIniLines = 0 ,
2024-05-05 21:50:18 +08:00
this . serverGlobalIniLines = 0 ,
this . errorMessage = " " } )
2024-05-03 22:35:31 +08:00
: _classMap = classMap ;
@ override
@ JsonKey ( )
final String workingText ;
final Map < String , AppAdvancedLocalizationClassKeysData > ? _classMap ;
@ override
Map < String , AppAdvancedLocalizationClassKeysData > ? get classMap {
final value = _classMap ;
if ( value = = null ) return null ;
if ( _classMap is EqualUnmodifiableMapView ) return _classMap ;
// ignore: implicit_dynamic_type
return EqualUnmodifiableMapView ( value ) ;
}
@ override
final String ? p4kGlobalIni ;
@ override
final String ? serverGlobalIni ;
2024-05-05 14:59:07 +08:00
@ override
2024-05-05 20:58:58 +08:00
final String ? customizeGlobalIni ;
@ override
2024-05-05 14:59:07 +08:00
final ScLocalizationData ? apiLocalizationData ;
@ override
@ JsonKey ( )
final int p4kGlobalIniLines ;
@ override
@ JsonKey ( )
final int serverGlobalIniLines ;
2024-05-05 21:50:18 +08:00
@ override
@ JsonKey ( )
final String errorMessage ;
2024-05-03 22:35:31 +08:00
@ override
String toString ( { DiagnosticLevel minLevel = DiagnosticLevel . info } ) {
2024-05-05 21:50:18 +08:00
return ' AdvancedLocalizationUIState(workingText: $ workingText , classMap: $ classMap , p4kGlobalIni: $ p4kGlobalIni , serverGlobalIni: $ serverGlobalIni , customizeGlobalIni: $ customizeGlobalIni , apiLocalizationData: $ apiLocalizationData , p4kGlobalIniLines: $ p4kGlobalIniLines , serverGlobalIniLines: $ serverGlobalIniLines , errorMessage: $ errorMessage ) ' ;
2024-05-03 22:35:31 +08:00
}
@ override
void debugFillProperties ( DiagnosticPropertiesBuilder properties ) {
super . debugFillProperties ( properties ) ;
properties
. . add ( DiagnosticsProperty ( ' type ' , ' AdvancedLocalizationUIState ' ) )
. . add ( DiagnosticsProperty ( ' workingText ' , workingText ) )
. . add ( DiagnosticsProperty ( ' classMap ' , classMap ) )
. . add ( DiagnosticsProperty ( ' p4kGlobalIni ' , p4kGlobalIni ) )
2024-05-05 14:59:07 +08:00
. . add ( DiagnosticsProperty ( ' serverGlobalIni ' , serverGlobalIni ) )
2024-05-05 20:58:58 +08:00
. . add ( DiagnosticsProperty ( ' customizeGlobalIni ' , customizeGlobalIni ) )
2024-05-05 14:59:07 +08:00
. . add ( DiagnosticsProperty ( ' apiLocalizationData ' , apiLocalizationData ) )
. . add ( DiagnosticsProperty ( ' p4kGlobalIniLines ' , p4kGlobalIniLines ) )
2024-05-05 21:50:18 +08:00
. . add ( DiagnosticsProperty ( ' serverGlobalIniLines ' , serverGlobalIniLines ) )
. . add ( DiagnosticsProperty ( ' errorMessage ' , errorMessage ) ) ;
2024-05-03 22:35:31 +08:00
}
@ override
bool operator = = ( Object other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
other is _ $AdvancedLocalizationUIStateImpl & &
( identical ( other . workingText , workingText ) | |
other . workingText = = workingText ) & &
const DeepCollectionEquality ( ) . equals ( other . _classMap , _classMap ) & &
( identical ( other . p4kGlobalIni , p4kGlobalIni ) | |
other . p4kGlobalIni = = p4kGlobalIni ) & &
( identical ( other . serverGlobalIni , serverGlobalIni ) | |
2024-05-05 14:59:07 +08:00
other . serverGlobalIni = = serverGlobalIni ) & &
2024-05-05 20:58:58 +08:00
( identical ( other . customizeGlobalIni , customizeGlobalIni ) | |
other . customizeGlobalIni = = customizeGlobalIni ) & &
2024-05-05 14:59:07 +08:00
( identical ( other . apiLocalizationData , apiLocalizationData ) | |
other . apiLocalizationData = = apiLocalizationData ) & &
( identical ( other . p4kGlobalIniLines , p4kGlobalIniLines ) | |
other . p4kGlobalIniLines = = p4kGlobalIniLines ) & &
( identical ( other . serverGlobalIniLines , serverGlobalIniLines ) | |
2024-05-05 21:50:18 +08:00
other . serverGlobalIniLines = = serverGlobalIniLines ) & &
( identical ( other . errorMessage , errorMessage ) | |
other . errorMessage = = errorMessage ) ) ;
2024-05-03 22:35:31 +08:00
}
@ override
int get hashCode = > Object . hash (
runtimeType ,
workingText ,
const DeepCollectionEquality ( ) . hash ( _classMap ) ,
p4kGlobalIni ,
2024-05-05 14:59:07 +08:00
serverGlobalIni ,
2024-05-05 20:58:58 +08:00
customizeGlobalIni ,
2024-05-05 14:59:07 +08:00
apiLocalizationData ,
p4kGlobalIniLines ,
2024-05-05 21:50:18 +08:00
serverGlobalIniLines ,
errorMessage ) ;
2024-05-03 22:35:31 +08:00
2024-09-04 12:22:13 +08:00
/// Create a copy of AdvancedLocalizationUIState
/// with the given fields replaced by the non-null parameter values.
@ JsonKey ( includeFromJson: false , includeToJson: false )
2024-05-03 22:35:31 +08:00
@ override
@ pragma ( ' vm:prefer-inline ' )
_ $ $AdvancedLocalizationUIStateImplCopyWith < _ $AdvancedLocalizationUIStateImpl >
get copyWith = > __ $ $AdvancedLocalizationUIStateImplCopyWithImpl <
_ $AdvancedLocalizationUIStateImpl > ( this , _ $identity ) ;
}
abstract class _AdvancedLocalizationUIState
implements AdvancedLocalizationUIState {
factory _AdvancedLocalizationUIState (
{ final String workingText ,
final Map < String , AppAdvancedLocalizationClassKeysData > ? classMap ,
final String ? p4kGlobalIni ,
2024-05-05 14:59:07 +08:00
final String ? serverGlobalIni ,
2024-05-05 20:58:58 +08:00
final String ? customizeGlobalIni ,
2024-05-05 14:59:07 +08:00
final ScLocalizationData ? apiLocalizationData ,
final int p4kGlobalIniLines ,
2024-05-05 21:50:18 +08:00
final int serverGlobalIniLines ,
final String errorMessage } ) = _ $AdvancedLocalizationUIStateImpl ;
2024-05-03 22:35:31 +08:00
@ override
String get workingText ;
@ override
Map < String , AppAdvancedLocalizationClassKeysData > ? get classMap ;
@ override
String ? get p4kGlobalIni ;
@ override
String ? get serverGlobalIni ;
@ override
2024-05-05 20:58:58 +08:00
String ? get customizeGlobalIni ;
@ override
2024-05-05 14:59:07 +08:00
ScLocalizationData ? get apiLocalizationData ;
@ override
int get p4kGlobalIniLines ;
@ override
int get serverGlobalIniLines ;
@ override
2024-05-05 21:50:18 +08:00
String get errorMessage ;
2024-09-04 12:22:13 +08:00
/// Create a copy of AdvancedLocalizationUIState
/// with the given fields replaced by the non-null parameter values.
2024-05-05 21:50:18 +08:00
@ override
2024-09-04 12:22:13 +08:00
@ JsonKey ( includeFromJson: false , includeToJson: false )
2024-05-03 22:35:31 +08:00
_ $ $AdvancedLocalizationUIStateImplCopyWith < _ $AdvancedLocalizationUIStateImpl >
get copyWith = > throw _privateConstructorUsedError ;
}