mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-07-08 11:39:58 +08:00
bump: Flutter 3.32.1 Rust 1.87.0
fix: rsi launcher patch 2.4.0
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
// dart format width=80
|
||||
// coverage:ignore-file
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
// ignore_for_file: type=lint
|
||||
@ -9,225 +10,32 @@ part of 'app.dart';
|
||||
// FreezedGenerator
|
||||
// **************************************************************************
|
||||
|
||||
// dart format off
|
||||
T _$identity<T>(T value) => value;
|
||||
|
||||
final _privateConstructorUsedError = UnsupportedError(
|
||||
'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models');
|
||||
|
||||
/// @nodoc
|
||||
mixin _$AppGlobalState {
|
||||
String? get deviceUUID => throw _privateConstructorUsedError;
|
||||
String? get applicationSupportDir => throw _privateConstructorUsedError;
|
||||
String? get applicationBinaryModuleDir => throw _privateConstructorUsedError;
|
||||
AppVersionData? get networkVersionData => throw _privateConstructorUsedError;
|
||||
ThemeConf get themeConf => throw _privateConstructorUsedError;
|
||||
Locale? get appLocale => throw _privateConstructorUsedError;
|
||||
Box<dynamic>? get appConfBox => throw _privateConstructorUsedError;
|
||||
String? get deviceUUID;
|
||||
String? get applicationSupportDir;
|
||||
String? get applicationBinaryModuleDir;
|
||||
AppVersionData? get networkVersionData;
|
||||
ThemeConf get themeConf;
|
||||
Locale? get appLocale;
|
||||
Box? get appConfBox;
|
||||
|
||||
/// Create a copy of AppGlobalState
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
@pragma('vm:prefer-inline')
|
||||
$AppGlobalStateCopyWith<AppGlobalState> get copyWith =>
|
||||
throw _privateConstructorUsedError;
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract class $AppGlobalStateCopyWith<$Res> {
|
||||
factory $AppGlobalStateCopyWith(
|
||||
AppGlobalState value, $Res Function(AppGlobalState) then) =
|
||||
_$AppGlobalStateCopyWithImpl<$Res, AppGlobalState>;
|
||||
@useResult
|
||||
$Res call(
|
||||
{String? deviceUUID,
|
||||
String? applicationSupportDir,
|
||||
String? applicationBinaryModuleDir,
|
||||
AppVersionData? networkVersionData,
|
||||
ThemeConf themeConf,
|
||||
Locale? appLocale,
|
||||
Box<dynamic>? appConfBox});
|
||||
|
||||
$ThemeConfCopyWith<$Res> get themeConf;
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
class _$AppGlobalStateCopyWithImpl<$Res, $Val extends AppGlobalState>
|
||||
implements $AppGlobalStateCopyWith<$Res> {
|
||||
_$AppGlobalStateCopyWithImpl(this._value, this._then);
|
||||
|
||||
// ignore: unused_field
|
||||
final $Val _value;
|
||||
// ignore: unused_field
|
||||
final $Res Function($Val) _then;
|
||||
|
||||
/// Create a copy of AppGlobalState
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@pragma('vm:prefer-inline')
|
||||
@override
|
||||
$Res call({
|
||||
Object? deviceUUID = freezed,
|
||||
Object? applicationSupportDir = freezed,
|
||||
Object? applicationBinaryModuleDir = freezed,
|
||||
Object? networkVersionData = freezed,
|
||||
Object? themeConf = null,
|
||||
Object? appLocale = freezed,
|
||||
Object? appConfBox = freezed,
|
||||
}) {
|
||||
return _then(_value.copyWith(
|
||||
deviceUUID: freezed == deviceUUID
|
||||
? _value.deviceUUID
|
||||
: deviceUUID // ignore: cast_nullable_to_non_nullable
|
||||
as String?,
|
||||
applicationSupportDir: freezed == applicationSupportDir
|
||||
? _value.applicationSupportDir
|
||||
: applicationSupportDir // ignore: cast_nullable_to_non_nullable
|
||||
as String?,
|
||||
applicationBinaryModuleDir: freezed == applicationBinaryModuleDir
|
||||
? _value.applicationBinaryModuleDir
|
||||
: applicationBinaryModuleDir // ignore: cast_nullable_to_non_nullable
|
||||
as String?,
|
||||
networkVersionData: freezed == networkVersionData
|
||||
? _value.networkVersionData
|
||||
: networkVersionData // ignore: cast_nullable_to_non_nullable
|
||||
as AppVersionData?,
|
||||
themeConf: null == themeConf
|
||||
? _value.themeConf
|
||||
: themeConf // ignore: cast_nullable_to_non_nullable
|
||||
as ThemeConf,
|
||||
appLocale: freezed == appLocale
|
||||
? _value.appLocale
|
||||
: appLocale // ignore: cast_nullable_to_non_nullable
|
||||
as Locale?,
|
||||
appConfBox: freezed == appConfBox
|
||||
? _value.appConfBox
|
||||
: appConfBox // ignore: cast_nullable_to_non_nullable
|
||||
as Box<dynamic>?,
|
||||
) as $Val);
|
||||
}
|
||||
|
||||
/// Create a copy of AppGlobalState
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@override
|
||||
@pragma('vm:prefer-inline')
|
||||
$ThemeConfCopyWith<$Res> get themeConf {
|
||||
return $ThemeConfCopyWith<$Res>(_value.themeConf, (value) {
|
||||
return _then(_value.copyWith(themeConf: value) as $Val);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract class _$$AppGlobalStateImplCopyWith<$Res>
|
||||
implements $AppGlobalStateCopyWith<$Res> {
|
||||
factory _$$AppGlobalStateImplCopyWith(_$AppGlobalStateImpl value,
|
||||
$Res Function(_$AppGlobalStateImpl) then) =
|
||||
__$$AppGlobalStateImplCopyWithImpl<$Res>;
|
||||
@override
|
||||
@useResult
|
||||
$Res call(
|
||||
{String? deviceUUID,
|
||||
String? applicationSupportDir,
|
||||
String? applicationBinaryModuleDir,
|
||||
AppVersionData? networkVersionData,
|
||||
ThemeConf themeConf,
|
||||
Locale? appLocale,
|
||||
Box<dynamic>? appConfBox});
|
||||
|
||||
@override
|
||||
$ThemeConfCopyWith<$Res> get themeConf;
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
class __$$AppGlobalStateImplCopyWithImpl<$Res>
|
||||
extends _$AppGlobalStateCopyWithImpl<$Res, _$AppGlobalStateImpl>
|
||||
implements _$$AppGlobalStateImplCopyWith<$Res> {
|
||||
__$$AppGlobalStateImplCopyWithImpl(
|
||||
_$AppGlobalStateImpl _value, $Res Function(_$AppGlobalStateImpl) _then)
|
||||
: super(_value, _then);
|
||||
|
||||
/// Create a copy of AppGlobalState
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@pragma('vm:prefer-inline')
|
||||
@override
|
||||
$Res call({
|
||||
Object? deviceUUID = freezed,
|
||||
Object? applicationSupportDir = freezed,
|
||||
Object? applicationBinaryModuleDir = freezed,
|
||||
Object? networkVersionData = freezed,
|
||||
Object? themeConf = null,
|
||||
Object? appLocale = freezed,
|
||||
Object? appConfBox = freezed,
|
||||
}) {
|
||||
return _then(_$AppGlobalStateImpl(
|
||||
deviceUUID: freezed == deviceUUID
|
||||
? _value.deviceUUID
|
||||
: deviceUUID // ignore: cast_nullable_to_non_nullable
|
||||
as String?,
|
||||
applicationSupportDir: freezed == applicationSupportDir
|
||||
? _value.applicationSupportDir
|
||||
: applicationSupportDir // ignore: cast_nullable_to_non_nullable
|
||||
as String?,
|
||||
applicationBinaryModuleDir: freezed == applicationBinaryModuleDir
|
||||
? _value.applicationBinaryModuleDir
|
||||
: applicationBinaryModuleDir // ignore: cast_nullable_to_non_nullable
|
||||
as String?,
|
||||
networkVersionData: freezed == networkVersionData
|
||||
? _value.networkVersionData
|
||||
: networkVersionData // ignore: cast_nullable_to_non_nullable
|
||||
as AppVersionData?,
|
||||
themeConf: null == themeConf
|
||||
? _value.themeConf
|
||||
: themeConf // ignore: cast_nullable_to_non_nullable
|
||||
as ThemeConf,
|
||||
appLocale: freezed == appLocale
|
||||
? _value.appLocale
|
||||
: appLocale // ignore: cast_nullable_to_non_nullable
|
||||
as Locale?,
|
||||
appConfBox: freezed == appConfBox
|
||||
? _value.appConfBox
|
||||
: appConfBox // ignore: cast_nullable_to_non_nullable
|
||||
as Box<dynamic>?,
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
|
||||
class _$AppGlobalStateImpl implements _AppGlobalState {
|
||||
const _$AppGlobalStateImpl(
|
||||
{this.deviceUUID,
|
||||
this.applicationSupportDir,
|
||||
this.applicationBinaryModuleDir,
|
||||
this.networkVersionData,
|
||||
this.themeConf = const ThemeConf(),
|
||||
this.appLocale,
|
||||
this.appConfBox});
|
||||
|
||||
@override
|
||||
final String? deviceUUID;
|
||||
@override
|
||||
final String? applicationSupportDir;
|
||||
@override
|
||||
final String? applicationBinaryModuleDir;
|
||||
@override
|
||||
final AppVersionData? networkVersionData;
|
||||
@override
|
||||
@JsonKey()
|
||||
final ThemeConf themeConf;
|
||||
@override
|
||||
final Locale? appLocale;
|
||||
@override
|
||||
final Box<dynamic>? appConfBox;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'AppGlobalState(deviceUUID: $deviceUUID, applicationSupportDir: $applicationSupportDir, applicationBinaryModuleDir: $applicationBinaryModuleDir, networkVersionData: $networkVersionData, themeConf: $themeConf, appLocale: $appLocale, appConfBox: $appConfBox)';
|
||||
}
|
||||
_$AppGlobalStateCopyWithImpl<AppGlobalState>(
|
||||
this as AppGlobalState, _$identity);
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) {
|
||||
return identical(this, other) ||
|
||||
(other.runtimeType == runtimeType &&
|
||||
other is _$AppGlobalStateImpl &&
|
||||
other is AppGlobalState &&
|
||||
(identical(other.deviceUUID, deviceUUID) ||
|
||||
other.deviceUUID == deviceUUID) &&
|
||||
(identical(other.applicationSupportDir, applicationSupportDir) ||
|
||||
@ -257,124 +65,305 @@ class _$AppGlobalStateImpl implements _AppGlobalState {
|
||||
appLocale,
|
||||
appConfBox);
|
||||
|
||||
/// Create a copy of AppGlobalState
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
@override
|
||||
@pragma('vm:prefer-inline')
|
||||
_$$AppGlobalStateImplCopyWith<_$AppGlobalStateImpl> get copyWith =>
|
||||
__$$AppGlobalStateImplCopyWithImpl<_$AppGlobalStateImpl>(
|
||||
this, _$identity);
|
||||
}
|
||||
|
||||
abstract class _AppGlobalState implements AppGlobalState {
|
||||
const factory _AppGlobalState(
|
||||
{final String? deviceUUID,
|
||||
final String? applicationSupportDir,
|
||||
final String? applicationBinaryModuleDir,
|
||||
final AppVersionData? networkVersionData,
|
||||
final ThemeConf themeConf,
|
||||
final Locale? appLocale,
|
||||
final Box<dynamic>? appConfBox}) = _$AppGlobalStateImpl;
|
||||
|
||||
@override
|
||||
String? get deviceUUID;
|
||||
@override
|
||||
String? get applicationSupportDir;
|
||||
@override
|
||||
String? get applicationBinaryModuleDir;
|
||||
@override
|
||||
AppVersionData? get networkVersionData;
|
||||
@override
|
||||
ThemeConf get themeConf;
|
||||
@override
|
||||
Locale? get appLocale;
|
||||
@override
|
||||
Box<dynamic>? get appConfBox;
|
||||
|
||||
/// Create a copy of AppGlobalState
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@override
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
_$$AppGlobalStateImplCopyWith<_$AppGlobalStateImpl> get copyWith =>
|
||||
throw _privateConstructorUsedError;
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
mixin _$ThemeConf {
|
||||
Color get backgroundColor => throw _privateConstructorUsedError;
|
||||
Color get menuColor => throw _privateConstructorUsedError;
|
||||
Color get micaColor => throw _privateConstructorUsedError;
|
||||
|
||||
/// Create a copy of ThemeConf
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
$ThemeConfCopyWith<ThemeConf> get copyWith =>
|
||||
throw _privateConstructorUsedError;
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract class $ThemeConfCopyWith<$Res> {
|
||||
factory $ThemeConfCopyWith(ThemeConf value, $Res Function(ThemeConf) then) =
|
||||
_$ThemeConfCopyWithImpl<$Res, ThemeConf>;
|
||||
@useResult
|
||||
$Res call({Color backgroundColor, Color menuColor, Color micaColor});
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
class _$ThemeConfCopyWithImpl<$Res, $Val extends ThemeConf>
|
||||
implements $ThemeConfCopyWith<$Res> {
|
||||
_$ThemeConfCopyWithImpl(this._value, this._then);
|
||||
|
||||
// ignore: unused_field
|
||||
final $Val _value;
|
||||
// ignore: unused_field
|
||||
final $Res Function($Val) _then;
|
||||
|
||||
/// Create a copy of ThemeConf
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@pragma('vm:prefer-inline')
|
||||
@override
|
||||
$Res call({
|
||||
Object? backgroundColor = null,
|
||||
Object? menuColor = null,
|
||||
Object? micaColor = null,
|
||||
}) {
|
||||
return _then(_value.copyWith(
|
||||
backgroundColor: null == backgroundColor
|
||||
? _value.backgroundColor
|
||||
: backgroundColor // ignore: cast_nullable_to_non_nullable
|
||||
as Color,
|
||||
menuColor: null == menuColor
|
||||
? _value.menuColor
|
||||
: menuColor // ignore: cast_nullable_to_non_nullable
|
||||
as Color,
|
||||
micaColor: null == micaColor
|
||||
? _value.micaColor
|
||||
: micaColor // ignore: cast_nullable_to_non_nullable
|
||||
as Color,
|
||||
) as $Val);
|
||||
String toString() {
|
||||
return 'AppGlobalState(deviceUUID: $deviceUUID, applicationSupportDir: $applicationSupportDir, applicationBinaryModuleDir: $applicationBinaryModuleDir, networkVersionData: $networkVersionData, themeConf: $themeConf, appLocale: $appLocale, appConfBox: $appConfBox)';
|
||||
}
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract class _$$ThemeConfImplCopyWith<$Res>
|
||||
implements $ThemeConfCopyWith<$Res> {
|
||||
factory _$$ThemeConfImplCopyWith(
|
||||
_$ThemeConfImpl value, $Res Function(_$ThemeConfImpl) then) =
|
||||
__$$ThemeConfImplCopyWithImpl<$Res>;
|
||||
abstract mixin class $AppGlobalStateCopyWith<$Res> {
|
||||
factory $AppGlobalStateCopyWith(
|
||||
AppGlobalState value, $Res Function(AppGlobalState) _then) =
|
||||
_$AppGlobalStateCopyWithImpl;
|
||||
@useResult
|
||||
$Res call(
|
||||
{String? deviceUUID,
|
||||
String? applicationSupportDir,
|
||||
String? applicationBinaryModuleDir,
|
||||
AppVersionData? networkVersionData,
|
||||
ThemeConf themeConf,
|
||||
Locale? appLocale,
|
||||
Box? appConfBox});
|
||||
|
||||
$ThemeConfCopyWith<$Res> get themeConf;
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
class _$AppGlobalStateCopyWithImpl<$Res>
|
||||
implements $AppGlobalStateCopyWith<$Res> {
|
||||
_$AppGlobalStateCopyWithImpl(this._self, this._then);
|
||||
|
||||
final AppGlobalState _self;
|
||||
final $Res Function(AppGlobalState) _then;
|
||||
|
||||
/// Create a copy of AppGlobalState
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@pragma('vm:prefer-inline')
|
||||
@override
|
||||
$Res call({
|
||||
Object? deviceUUID = freezed,
|
||||
Object? applicationSupportDir = freezed,
|
||||
Object? applicationBinaryModuleDir = freezed,
|
||||
Object? networkVersionData = freezed,
|
||||
Object? themeConf = null,
|
||||
Object? appLocale = freezed,
|
||||
Object? appConfBox = freezed,
|
||||
}) {
|
||||
return _then(_self.copyWith(
|
||||
deviceUUID: freezed == deviceUUID
|
||||
? _self.deviceUUID
|
||||
: deviceUUID // ignore: cast_nullable_to_non_nullable
|
||||
as String?,
|
||||
applicationSupportDir: freezed == applicationSupportDir
|
||||
? _self.applicationSupportDir
|
||||
: applicationSupportDir // ignore: cast_nullable_to_non_nullable
|
||||
as String?,
|
||||
applicationBinaryModuleDir: freezed == applicationBinaryModuleDir
|
||||
? _self.applicationBinaryModuleDir
|
||||
: applicationBinaryModuleDir // ignore: cast_nullable_to_non_nullable
|
||||
as String?,
|
||||
networkVersionData: freezed == networkVersionData
|
||||
? _self.networkVersionData
|
||||
: networkVersionData // ignore: cast_nullable_to_non_nullable
|
||||
as AppVersionData?,
|
||||
themeConf: null == themeConf
|
||||
? _self.themeConf
|
||||
: themeConf // ignore: cast_nullable_to_non_nullable
|
||||
as ThemeConf,
|
||||
appLocale: freezed == appLocale
|
||||
? _self.appLocale
|
||||
: appLocale // ignore: cast_nullable_to_non_nullable
|
||||
as Locale?,
|
||||
appConfBox: freezed == appConfBox
|
||||
? _self.appConfBox
|
||||
: appConfBox // ignore: cast_nullable_to_non_nullable
|
||||
as Box?,
|
||||
));
|
||||
}
|
||||
|
||||
/// Create a copy of AppGlobalState
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@override
|
||||
@pragma('vm:prefer-inline')
|
||||
$ThemeConfCopyWith<$Res> get themeConf {
|
||||
return $ThemeConfCopyWith<$Res>(_self.themeConf, (value) {
|
||||
return _then(_self.copyWith(themeConf: value));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
|
||||
class _AppGlobalState implements AppGlobalState {
|
||||
const _AppGlobalState(
|
||||
{this.deviceUUID,
|
||||
this.applicationSupportDir,
|
||||
this.applicationBinaryModuleDir,
|
||||
this.networkVersionData,
|
||||
this.themeConf = const ThemeConf(),
|
||||
this.appLocale,
|
||||
this.appConfBox});
|
||||
|
||||
@override
|
||||
final String? deviceUUID;
|
||||
@override
|
||||
final String? applicationSupportDir;
|
||||
@override
|
||||
final String? applicationBinaryModuleDir;
|
||||
@override
|
||||
final AppVersionData? networkVersionData;
|
||||
@override
|
||||
@JsonKey()
|
||||
final ThemeConf themeConf;
|
||||
@override
|
||||
final Locale? appLocale;
|
||||
@override
|
||||
final Box? appConfBox;
|
||||
|
||||
/// Create a copy of AppGlobalState
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@override
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
@pragma('vm:prefer-inline')
|
||||
_$AppGlobalStateCopyWith<_AppGlobalState> get copyWith =>
|
||||
__$AppGlobalStateCopyWithImpl<_AppGlobalState>(this, _$identity);
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) {
|
||||
return identical(this, other) ||
|
||||
(other.runtimeType == runtimeType &&
|
||||
other is _AppGlobalState &&
|
||||
(identical(other.deviceUUID, deviceUUID) ||
|
||||
other.deviceUUID == deviceUUID) &&
|
||||
(identical(other.applicationSupportDir, applicationSupportDir) ||
|
||||
other.applicationSupportDir == applicationSupportDir) &&
|
||||
(identical(other.applicationBinaryModuleDir,
|
||||
applicationBinaryModuleDir) ||
|
||||
other.applicationBinaryModuleDir ==
|
||||
applicationBinaryModuleDir) &&
|
||||
(identical(other.networkVersionData, networkVersionData) ||
|
||||
other.networkVersionData == networkVersionData) &&
|
||||
(identical(other.themeConf, themeConf) ||
|
||||
other.themeConf == themeConf) &&
|
||||
(identical(other.appLocale, appLocale) ||
|
||||
other.appLocale == appLocale) &&
|
||||
(identical(other.appConfBox, appConfBox) ||
|
||||
other.appConfBox == appConfBox));
|
||||
}
|
||||
|
||||
@override
|
||||
int get hashCode => Object.hash(
|
||||
runtimeType,
|
||||
deviceUUID,
|
||||
applicationSupportDir,
|
||||
applicationBinaryModuleDir,
|
||||
networkVersionData,
|
||||
themeConf,
|
||||
appLocale,
|
||||
appConfBox);
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'AppGlobalState(deviceUUID: $deviceUUID, applicationSupportDir: $applicationSupportDir, applicationBinaryModuleDir: $applicationBinaryModuleDir, networkVersionData: $networkVersionData, themeConf: $themeConf, appLocale: $appLocale, appConfBox: $appConfBox)';
|
||||
}
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract mixin class _$AppGlobalStateCopyWith<$Res>
|
||||
implements $AppGlobalStateCopyWith<$Res> {
|
||||
factory _$AppGlobalStateCopyWith(
|
||||
_AppGlobalState value, $Res Function(_AppGlobalState) _then) =
|
||||
__$AppGlobalStateCopyWithImpl;
|
||||
@override
|
||||
@useResult
|
||||
$Res call(
|
||||
{String? deviceUUID,
|
||||
String? applicationSupportDir,
|
||||
String? applicationBinaryModuleDir,
|
||||
AppVersionData? networkVersionData,
|
||||
ThemeConf themeConf,
|
||||
Locale? appLocale,
|
||||
Box? appConfBox});
|
||||
|
||||
@override
|
||||
$ThemeConfCopyWith<$Res> get themeConf;
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
class __$AppGlobalStateCopyWithImpl<$Res>
|
||||
implements _$AppGlobalStateCopyWith<$Res> {
|
||||
__$AppGlobalStateCopyWithImpl(this._self, this._then);
|
||||
|
||||
final _AppGlobalState _self;
|
||||
final $Res Function(_AppGlobalState) _then;
|
||||
|
||||
/// Create a copy of AppGlobalState
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@override
|
||||
@pragma('vm:prefer-inline')
|
||||
$Res call({
|
||||
Object? deviceUUID = freezed,
|
||||
Object? applicationSupportDir = freezed,
|
||||
Object? applicationBinaryModuleDir = freezed,
|
||||
Object? networkVersionData = freezed,
|
||||
Object? themeConf = null,
|
||||
Object? appLocale = freezed,
|
||||
Object? appConfBox = freezed,
|
||||
}) {
|
||||
return _then(_AppGlobalState(
|
||||
deviceUUID: freezed == deviceUUID
|
||||
? _self.deviceUUID
|
||||
: deviceUUID // ignore: cast_nullable_to_non_nullable
|
||||
as String?,
|
||||
applicationSupportDir: freezed == applicationSupportDir
|
||||
? _self.applicationSupportDir
|
||||
: applicationSupportDir // ignore: cast_nullable_to_non_nullable
|
||||
as String?,
|
||||
applicationBinaryModuleDir: freezed == applicationBinaryModuleDir
|
||||
? _self.applicationBinaryModuleDir
|
||||
: applicationBinaryModuleDir // ignore: cast_nullable_to_non_nullable
|
||||
as String?,
|
||||
networkVersionData: freezed == networkVersionData
|
||||
? _self.networkVersionData
|
||||
: networkVersionData // ignore: cast_nullable_to_non_nullable
|
||||
as AppVersionData?,
|
||||
themeConf: null == themeConf
|
||||
? _self.themeConf
|
||||
: themeConf // ignore: cast_nullable_to_non_nullable
|
||||
as ThemeConf,
|
||||
appLocale: freezed == appLocale
|
||||
? _self.appLocale
|
||||
: appLocale // ignore: cast_nullable_to_non_nullable
|
||||
as Locale?,
|
||||
appConfBox: freezed == appConfBox
|
||||
? _self.appConfBox
|
||||
: appConfBox // ignore: cast_nullable_to_non_nullable
|
||||
as Box?,
|
||||
));
|
||||
}
|
||||
|
||||
/// Create a copy of AppGlobalState
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@override
|
||||
@pragma('vm:prefer-inline')
|
||||
$ThemeConfCopyWith<$Res> get themeConf {
|
||||
return $ThemeConfCopyWith<$Res>(_self.themeConf, (value) {
|
||||
return _then(_self.copyWith(themeConf: value));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
mixin _$ThemeConf {
|
||||
Color get backgroundColor;
|
||||
Color get menuColor;
|
||||
Color get micaColor;
|
||||
|
||||
/// Create a copy of ThemeConf
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
@pragma('vm:prefer-inline')
|
||||
$ThemeConfCopyWith<ThemeConf> get copyWith =>
|
||||
_$ThemeConfCopyWithImpl<ThemeConf>(this as ThemeConf, _$identity);
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) {
|
||||
return identical(this, other) ||
|
||||
(other.runtimeType == runtimeType &&
|
||||
other is ThemeConf &&
|
||||
(identical(other.backgroundColor, backgroundColor) ||
|
||||
other.backgroundColor == backgroundColor) &&
|
||||
(identical(other.menuColor, menuColor) ||
|
||||
other.menuColor == menuColor) &&
|
||||
(identical(other.micaColor, micaColor) ||
|
||||
other.micaColor == micaColor));
|
||||
}
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
Object.hash(runtimeType, backgroundColor, menuColor, micaColor);
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'ThemeConf(backgroundColor: $backgroundColor, menuColor: $menuColor, micaColor: $micaColor)';
|
||||
}
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract mixin class $ThemeConfCopyWith<$Res> {
|
||||
factory $ThemeConfCopyWith(ThemeConf value, $Res Function(ThemeConf) _then) =
|
||||
_$ThemeConfCopyWithImpl;
|
||||
@useResult
|
||||
$Res call({Color backgroundColor, Color menuColor, Color micaColor});
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
class __$$ThemeConfImplCopyWithImpl<$Res>
|
||||
extends _$ThemeConfCopyWithImpl<$Res, _$ThemeConfImpl>
|
||||
implements _$$ThemeConfImplCopyWith<$Res> {
|
||||
__$$ThemeConfImplCopyWithImpl(
|
||||
_$ThemeConfImpl _value, $Res Function(_$ThemeConfImpl) _then)
|
||||
: super(_value, _then);
|
||||
class _$ThemeConfCopyWithImpl<$Res> implements $ThemeConfCopyWith<$Res> {
|
||||
_$ThemeConfCopyWithImpl(this._self, this._then);
|
||||
|
||||
final ThemeConf _self;
|
||||
final $Res Function(ThemeConf) _then;
|
||||
|
||||
/// Create a copy of ThemeConf
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@ -385,17 +374,17 @@ class __$$ThemeConfImplCopyWithImpl<$Res>
|
||||
Object? menuColor = null,
|
||||
Object? micaColor = null,
|
||||
}) {
|
||||
return _then(_$ThemeConfImpl(
|
||||
return _then(_self.copyWith(
|
||||
backgroundColor: null == backgroundColor
|
||||
? _value.backgroundColor
|
||||
? _self.backgroundColor
|
||||
: backgroundColor // ignore: cast_nullable_to_non_nullable
|
||||
as Color,
|
||||
menuColor: null == menuColor
|
||||
? _value.menuColor
|
||||
? _self.menuColor
|
||||
: menuColor // ignore: cast_nullable_to_non_nullable
|
||||
as Color,
|
||||
micaColor: null == micaColor
|
||||
? _value.micaColor
|
||||
? _self.micaColor
|
||||
: micaColor // ignore: cast_nullable_to_non_nullable
|
||||
as Color,
|
||||
));
|
||||
@ -404,8 +393,8 @@ class __$$ThemeConfImplCopyWithImpl<$Res>
|
||||
|
||||
/// @nodoc
|
||||
|
||||
class _$ThemeConfImpl implements _ThemeConf {
|
||||
const _$ThemeConfImpl(
|
||||
class _ThemeConf implements ThemeConf {
|
||||
const _ThemeConf(
|
||||
{this.backgroundColor = const Color(0xbf132431),
|
||||
this.menuColor = const Color(0xf2132431),
|
||||
this.micaColor = const Color(0xff0a3142)});
|
||||
@ -420,16 +409,19 @@ class _$ThemeConfImpl implements _ThemeConf {
|
||||
@JsonKey()
|
||||
final Color micaColor;
|
||||
|
||||
/// Create a copy of ThemeConf
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@override
|
||||
String toString() {
|
||||
return 'ThemeConf(backgroundColor: $backgroundColor, menuColor: $menuColor, micaColor: $micaColor)';
|
||||
}
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
@pragma('vm:prefer-inline')
|
||||
_$ThemeConfCopyWith<_ThemeConf> get copyWith =>
|
||||
__$ThemeConfCopyWithImpl<_ThemeConf>(this, _$identity);
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) {
|
||||
return identical(this, other) ||
|
||||
(other.runtimeType == runtimeType &&
|
||||
other is _$ThemeConfImpl &&
|
||||
other is _ThemeConf &&
|
||||
(identical(other.backgroundColor, backgroundColor) ||
|
||||
other.backgroundColor == backgroundColor) &&
|
||||
(identical(other.menuColor, menuColor) ||
|
||||
@ -442,32 +434,54 @@ class _$ThemeConfImpl implements _ThemeConf {
|
||||
int get hashCode =>
|
||||
Object.hash(runtimeType, backgroundColor, menuColor, micaColor);
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'ThemeConf(backgroundColor: $backgroundColor, menuColor: $menuColor, micaColor: $micaColor)';
|
||||
}
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract mixin class _$ThemeConfCopyWith<$Res>
|
||||
implements $ThemeConfCopyWith<$Res> {
|
||||
factory _$ThemeConfCopyWith(
|
||||
_ThemeConf value, $Res Function(_ThemeConf) _then) =
|
||||
__$ThemeConfCopyWithImpl;
|
||||
@override
|
||||
@useResult
|
||||
$Res call({Color backgroundColor, Color menuColor, Color micaColor});
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
class __$ThemeConfCopyWithImpl<$Res> implements _$ThemeConfCopyWith<$Res> {
|
||||
__$ThemeConfCopyWithImpl(this._self, this._then);
|
||||
|
||||
final _ThemeConf _self;
|
||||
final $Res Function(_ThemeConf) _then;
|
||||
|
||||
/// Create a copy of ThemeConf
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
@override
|
||||
@pragma('vm:prefer-inline')
|
||||
_$$ThemeConfImplCopyWith<_$ThemeConfImpl> get copyWith =>
|
||||
__$$ThemeConfImplCopyWithImpl<_$ThemeConfImpl>(this, _$identity);
|
||||
$Res call({
|
||||
Object? backgroundColor = null,
|
||||
Object? menuColor = null,
|
||||
Object? micaColor = null,
|
||||
}) {
|
||||
return _then(_ThemeConf(
|
||||
backgroundColor: null == backgroundColor
|
||||
? _self.backgroundColor
|
||||
: backgroundColor // ignore: cast_nullable_to_non_nullable
|
||||
as Color,
|
||||
menuColor: null == menuColor
|
||||
? _self.menuColor
|
||||
: menuColor // ignore: cast_nullable_to_non_nullable
|
||||
as Color,
|
||||
micaColor: null == micaColor
|
||||
? _self.micaColor
|
||||
: micaColor // ignore: cast_nullable_to_non_nullable
|
||||
as Color,
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
abstract class _ThemeConf implements ThemeConf {
|
||||
const factory _ThemeConf(
|
||||
{final Color backgroundColor,
|
||||
final Color menuColor,
|
||||
final Color micaColor}) = _$ThemeConfImpl;
|
||||
|
||||
@override
|
||||
Color get backgroundColor;
|
||||
@override
|
||||
Color get menuColor;
|
||||
@override
|
||||
Color get micaColor;
|
||||
|
||||
/// Create a copy of ThemeConf
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@override
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
_$$ThemeConfImplCopyWith<_$ThemeConfImpl> get copyWith =>
|
||||
throw _privateConstructorUsedError;
|
||||
}
|
||||
// dart format on
|
||||
|
Reference in New Issue
Block a user