2022-12-16 16:01:04 +01:00
|
|
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
|
|
|
|
part of 'my_app.dart';
|
|
|
|
|
2023-08-19 18:47:56 +02:00
|
|
|
// **************************************************************************
|
|
|
|
// CopyWithLintRuleGenerator
|
|
|
|
// **************************************************************************
|
|
|
|
|
|
|
|
// ignore_for_file: library_private_types_in_public_api, duplicate_ignore
|
|
|
|
|
|
|
|
// **************************************************************************
|
|
|
|
// CopyWithGenerator
|
|
|
|
// **************************************************************************
|
|
|
|
|
|
|
|
abstract class $_StateCopyWithWorker {
|
|
|
|
_State call(
|
|
|
|
{language_util.AppLanguage? language,
|
|
|
|
bool? isDarkTheme,
|
|
|
|
bool? isFollowSystemTheme,
|
|
|
|
bool? isUseBlackInDarkTheme,
|
2024-05-18 16:00:25 +02:00
|
|
|
int? seedColor,
|
|
|
|
int? secondarySeedColor});
|
2023-08-19 18:47:56 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
class _$_StateCopyWithWorkerImpl implements $_StateCopyWithWorker {
|
|
|
|
_$_StateCopyWithWorkerImpl(this.that);
|
|
|
|
|
|
|
|
@override
|
|
|
|
_State call(
|
|
|
|
{dynamic language,
|
|
|
|
dynamic isDarkTheme,
|
|
|
|
dynamic isFollowSystemTheme,
|
|
|
|
dynamic isUseBlackInDarkTheme,
|
2024-05-18 16:00:25 +02:00
|
|
|
dynamic seedColor = copyWithNull,
|
|
|
|
dynamic secondarySeedColor = copyWithNull}) {
|
2023-08-19 18:47:56 +02:00
|
|
|
return _State(
|
|
|
|
language: language as language_util.AppLanguage? ?? that.language,
|
|
|
|
isDarkTheme: isDarkTheme as bool? ?? that.isDarkTheme,
|
|
|
|
isFollowSystemTheme:
|
|
|
|
isFollowSystemTheme as bool? ?? that.isFollowSystemTheme,
|
|
|
|
isUseBlackInDarkTheme:
|
|
|
|
isUseBlackInDarkTheme as bool? ?? that.isUseBlackInDarkTheme,
|
|
|
|
seedColor:
|
2024-05-18 16:00:25 +02:00
|
|
|
seedColor == copyWithNull ? that.seedColor : seedColor as int?,
|
|
|
|
secondarySeedColor: secondarySeedColor == copyWithNull
|
|
|
|
? that.secondarySeedColor
|
|
|
|
: secondarySeedColor as int?);
|
2023-08-19 18:47:56 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
final _State that;
|
|
|
|
}
|
|
|
|
|
|
|
|
extension $_StateCopyWith on _State {
|
|
|
|
$_StateCopyWithWorker get copyWith => _$copyWith;
|
|
|
|
$_StateCopyWithWorker get _$copyWith => _$_StateCopyWithWorkerImpl(this);
|
|
|
|
}
|
|
|
|
|
2022-12-16 16:01:04 +01:00
|
|
|
// **************************************************************************
|
|
|
|
// NpLogGenerator
|
|
|
|
// **************************************************************************
|
|
|
|
|
2023-04-13 17:32:31 +02:00
|
|
|
extension _$_WrappedAppStateNpLog on _WrappedAppState {
|
2022-12-16 16:01:04 +01:00
|
|
|
// ignore: unused_element
|
2022-12-20 17:49:14 +01:00
|
|
|
Logger get _log => log;
|
|
|
|
|
2023-04-13 17:32:31 +02:00
|
|
|
static final log = Logger("widget.my_app._WrappedAppState");
|
2022-12-16 16:01:04 +01:00
|
|
|
}
|
2023-08-19 18:47:56 +02:00
|
|
|
|
|
|
|
extension _$_BlocNpLog on _Bloc {
|
|
|
|
// ignore: unused_element
|
|
|
|
Logger get _log => log;
|
|
|
|
|
|
|
|
static final log = Logger("widget.my_app._Bloc");
|
|
|
|
}
|
|
|
|
|
|
|
|
// **************************************************************************
|
|
|
|
// ToStringGenerator
|
|
|
|
// **************************************************************************
|
|
|
|
|
|
|
|
extension _$_StateToString on _State {
|
|
|
|
String _$toString() {
|
|
|
|
// ignore: unnecessary_string_interpolations
|
2024-05-18 16:00:25 +02:00
|
|
|
return "_State {language: $language, isDarkTheme: $isDarkTheme, isFollowSystemTheme: $isFollowSystemTheme, isUseBlackInDarkTheme: $isUseBlackInDarkTheme, seedColor: $seedColor, secondarySeedColor: $secondarySeedColor}";
|
2023-08-19 18:47:56 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension _$_InitToString on _Init {
|
|
|
|
String _$toString() {
|
|
|
|
// ignore: unnecessary_string_interpolations
|
|
|
|
return "_Init {}";
|
|
|
|
}
|
|
|
|
}
|