nc-photos/app/lib/widget/home_photos2.g.dart
2024-02-07 01:14:30 +08:00

302 lines
9.3 KiB
Dart

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'home_photos2.dart';
// **************************************************************************
// CopyWithLintRuleGenerator
// **************************************************************************
// ignore_for_file: library_private_types_in_public_api, duplicate_ignore
// **************************************************************************
// CopyWithGenerator
// **************************************************************************
abstract class $_StateCopyWithWorker {
_State call(
{List<FileDescriptor>? files,
bool? isLoading,
List<_Item>? transformedItems,
Set<_Item>? selectedItems,
Set<_VisibleItem>? visibleItems,
bool? isEnableMemoryCollection,
List<Collection>? memoryCollections,
double? contentListMaxExtent,
Progress? syncProgress,
int? zoom,
double? scale,
ExceptionEvent? error});
}
class _$_StateCopyWithWorkerImpl implements $_StateCopyWithWorker {
_$_StateCopyWithWorkerImpl(this.that);
@override
_State call(
{dynamic files,
dynamic isLoading,
dynamic transformedItems,
dynamic selectedItems,
dynamic visibleItems,
dynamic isEnableMemoryCollection,
dynamic memoryCollections,
dynamic contentListMaxExtent = copyWithNull,
dynamic syncProgress = copyWithNull,
dynamic zoom,
dynamic scale = copyWithNull,
dynamic error = copyWithNull}) {
return _State(
files: files as List<FileDescriptor>? ?? that.files,
isLoading: isLoading as bool? ?? that.isLoading,
transformedItems:
transformedItems as List<_Item>? ?? that.transformedItems,
selectedItems: selectedItems as Set<_Item>? ?? that.selectedItems,
visibleItems: visibleItems as Set<_VisibleItem>? ?? that.visibleItems,
isEnableMemoryCollection:
isEnableMemoryCollection as bool? ?? that.isEnableMemoryCollection,
memoryCollections:
memoryCollections as List<Collection>? ?? that.memoryCollections,
contentListMaxExtent: contentListMaxExtent == copyWithNull
? that.contentListMaxExtent
: contentListMaxExtent as double?,
syncProgress: syncProgress == copyWithNull
? that.syncProgress
: syncProgress as Progress?,
zoom: zoom as int? ?? that.zoom,
scale: scale == copyWithNull ? that.scale : scale as double?,
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 _$_WrappedHomePhotosStateNpLog on _WrappedHomePhotosState {
// ignore: unused_element
Logger get _log => log;
static final log = Logger("widget.home_photos2._WrappedHomePhotosState");
}
extension _$_BodyStateNpLog on _BodyState {
// ignore: unused_element
Logger get _log => log;
static final log = Logger("widget.home_photos2._BodyState");
}
extension _$__NpLog on __ {
// ignore: unused_element
Logger get _log => log;
static final log = Logger("widget.home_photos2.__");
}
extension _$_SelectionAppBarNpLog on _SelectionAppBar {
// ignore: unused_element
Logger get _log => log;
static final log = Logger("widget.home_photos2._SelectionAppBar");
}
extension _$_SelectionAppBarMenuNpLog on _SelectionAppBarMenu {
// ignore: unused_element
Logger get _log => log;
static final log = Logger("widget.home_photos2._SelectionAppBarMenu");
}
extension _$_BlocNpLog on _Bloc {
// ignore: unused_element
Logger get _log => log;
static final log = Logger("widget.home_photos2._Bloc");
}
extension _$_ContentListBodyNpLog on _ContentListBody {
// ignore: unused_element
Logger get _log => log;
static final log = Logger("widget.home_photos2._ContentListBody");
}
// **************************************************************************
// ToStringGenerator
// **************************************************************************
extension _$_StateToString on _State {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_State {files: [length: ${files.length}], isLoading: $isLoading, transformedItems: [length: ${transformedItems.length}], selectedItems: {length: ${selectedItems.length}}, visibleItems: {length: ${visibleItems.length}}, isEnableMemoryCollection: $isEnableMemoryCollection, memoryCollections: [length: ${memoryCollections.length}], contentListMaxExtent: ${contentListMaxExtent == null ? null : "${contentListMaxExtent!.toStringAsFixed(3)}"}, syncProgress: $syncProgress, zoom: $zoom, scale: ${scale == null ? null : "${scale!.toStringAsFixed(3)}"}, error: $error}";
}
}
extension _$_LoadItemsToString on _LoadItems {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_LoadItems {}";
}
}
extension _$_RequestRefreshToString on _RequestRefresh {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_RequestRefresh {}";
}
}
extension _$_TransformItemsToString on _TransformItems {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_TransformItems {items: [length: ${items.length}]}";
}
}
extension _$_OnItemTransformedToString on _OnItemTransformed {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_OnItemTransformed {items: [length: ${items.length}], memoryCollections: [length: ${memoryCollections.length}]}";
}
}
extension _$_SetSelectedItemsToString on _SetSelectedItems {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_SetSelectedItems {items: {length: ${items.length}}}";
}
}
extension _$_AddSelectedItemsToCollectionToString
on _AddSelectedItemsToCollection {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_AddSelectedItemsToCollection {collection: $collection}";
}
}
extension _$_ArchiveSelectedItemsToString on _ArchiveSelectedItems {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_ArchiveSelectedItems {}";
}
}
extension _$_DeleteSelectedItemsToString on _DeleteSelectedItems {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_DeleteSelectedItems {}";
}
}
extension _$_DownloadSelectedItemsToString on _DownloadSelectedItems {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_DownloadSelectedItems {}";
}
}
extension _$_AddVisibleItemToString on _AddVisibleItem {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_AddVisibleItem {item: $item}";
}
}
extension _$_RemoveVisibleItemToString on _RemoveVisibleItem {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_RemoveVisibleItem {item: $item}";
}
}
extension _$_SetContentListMaxExtentToString on _SetContentListMaxExtent {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_SetContentListMaxExtent {value: ${value == null ? null : "${value!.toStringAsFixed(3)}"}}";
}
}
extension _$_SetSyncProgressToString on _SetSyncProgress {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_SetSyncProgress {progress: $progress}";
}
}
extension _$_StartScalingToString on _StartScaling {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_StartScaling {}";
}
}
extension _$_EndScalingToString on _EndScaling {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_EndScaling {}";
}
}
extension _$_SetScaleToString on _SetScale {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_SetScale {scale: ${scale.toStringAsFixed(3)}}";
}
}
extension _$_SetEnableMemoryCollectionToString on _SetEnableMemoryCollection {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_SetEnableMemoryCollection {value: $value}";
}
}
extension _$_SetSortByNameToString on _SetSortByName {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_SetSortByName {value: $value}";
}
}
extension _$_SetMemoriesRangeToString on _SetMemoriesRange {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_SetMemoriesRange {value: $value}";
}
}
extension _$_UpdateDateTimeGroupToString on _UpdateDateTimeGroup {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_UpdateDateTimeGroup {}";
}
}
extension _$_SetErrorToString on _SetError {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_SetError {error: $error, stackTrace: $stackTrace}";
}
}
extension _$_ArchiveFailedErrorToString on _ArchiveFailedError {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_ArchiveFailedError {count: $count}";
}
}
extension _$_RemoveFailedErrorToString on _RemoveFailedError {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "_RemoveFailedError {count: $count}";
}
}