mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-23 17:26:18 +01:00
528699d7c5
This is no longer supported in the revamped code
71 lines
2.2 KiB
Dart
71 lines
2.2 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'misc_settings.dart';
|
|
|
|
// **************************************************************************
|
|
// CopyWithLintRuleGenerator
|
|
// **************************************************************************
|
|
|
|
// ignore_for_file: library_private_types_in_public_api, duplicate_ignore
|
|
|
|
// **************************************************************************
|
|
// CopyWithGenerator
|
|
// **************************************************************************
|
|
|
|
abstract class $_StateCopyWithWorker {
|
|
_State call({bool? isDoubleTapExit, ExceptionEvent? error});
|
|
}
|
|
|
|
class _$_StateCopyWithWorkerImpl implements $_StateCopyWithWorker {
|
|
_$_StateCopyWithWorkerImpl(this.that);
|
|
|
|
@override
|
|
_State call({dynamic isDoubleTapExit, dynamic error = copyWithNull}) {
|
|
return _State(
|
|
isDoubleTapExit: isDoubleTapExit as bool? ?? that.isDoubleTapExit,
|
|
error: error == copyWithNull ? that.error : error as ExceptionEvent?);
|
|
}
|
|
|
|
final _State that;
|
|
}
|
|
|
|
extension $_StateCopyWith on _State {
|
|
$_StateCopyWithWorker get copyWith => _$copyWith;
|
|
$_StateCopyWithWorker get _$copyWith => _$_StateCopyWithWorkerImpl(this);
|
|
}
|
|
|
|
// **************************************************************************
|
|
// NpLogGenerator
|
|
// **************************************************************************
|
|
|
|
extension _$_BlocNpLog on _Bloc {
|
|
// ignore: unused_element
|
|
Logger get _log => log;
|
|
|
|
static final log = Logger("widget.settings.misc_settings._Bloc");
|
|
}
|
|
|
|
// **************************************************************************
|
|
// ToStringGenerator
|
|
// **************************************************************************
|
|
|
|
extension _$_StateToString on _State {
|
|
String _$toString() {
|
|
// ignore: unnecessary_string_interpolations
|
|
return "_State {isDoubleTapExit: $isDoubleTapExit, error: $error}";
|
|
}
|
|
}
|
|
|
|
extension _$_InitToString on _Init {
|
|
String _$toString() {
|
|
// ignore: unnecessary_string_interpolations
|
|
return "_Init {}";
|
|
}
|
|
}
|
|
|
|
extension _$_SetDoubleTapExitToString on _SetDoubleTapExit {
|
|
String _$toString() {
|
|
// ignore: unnecessary_string_interpolations
|
|
return "_SetDoubleTapExit {value: $value}";
|
|
}
|
|
}
|