// GENERATED CODE - DO NOT MODIFY BY HAND part of 'viewer.dart'; // ************************************************************************** // CopyWithLintRuleGenerator // ************************************************************************** // ignore_for_file: library_private_types_in_public_api, duplicate_ignore // ************************************************************************** // CopyWithGenerator // ************************************************************************** abstract class $_StateCopyWithWorker { _State call( {List? fileIdOrders, Map? files, Map? fileStates, int? index, FileDescriptor? currentFile, _PageState? currentFileState, Collection? collection, CollectionItemsController? collectionItemsController, Map? collectionItems, bool? isShowDetailPane, bool? isClosingDetailPane, bool? isDetailPaneActive, Unique<_OpenDetailPaneRequest>? openDetailPaneRequest, Unique? closeDetailPane, bool? isZoomed, bool? isShowAppBar, bool? isInitialLoad, Unique? pendingRemovePage, Unique? imageEditorRequest, Unique? imageEnhancerRequest, Unique<_ShareRequest?>? shareRequest, Unique<_SlideshowRequest?>? slideshowRequest, ExceptionEvent? error}); } class _$_StateCopyWithWorkerImpl implements $_StateCopyWithWorker { _$_StateCopyWithWorkerImpl(this.that); @override _State call( {dynamic fileIdOrders, dynamic files, dynamic fileStates, dynamic index, dynamic currentFile = copyWithNull, dynamic currentFileState = copyWithNull, dynamic collection = copyWithNull, dynamic collectionItemsController = copyWithNull, dynamic collectionItems = copyWithNull, dynamic isShowDetailPane, dynamic isClosingDetailPane, dynamic isDetailPaneActive, dynamic openDetailPaneRequest, dynamic closeDetailPane, dynamic isZoomed, dynamic isShowAppBar, dynamic isInitialLoad, dynamic pendingRemovePage, dynamic imageEditorRequest, dynamic imageEnhancerRequest, dynamic shareRequest, dynamic slideshowRequest, dynamic error = copyWithNull}) { return _State( fileIdOrders: fileIdOrders as List? ?? that.fileIdOrders, files: files as Map? ?? that.files, fileStates: fileStates as Map? ?? that.fileStates, index: index as int? ?? that.index, currentFile: currentFile == copyWithNull ? that.currentFile : currentFile as FileDescriptor?, currentFileState: currentFileState == copyWithNull ? that.currentFileState : currentFileState as _PageState?, collection: collection == copyWithNull ? that.collection : collection as Collection?, collectionItemsController: collectionItemsController == copyWithNull ? that.collectionItemsController : collectionItemsController as CollectionItemsController?, collectionItems: collectionItems == copyWithNull ? that.collectionItems : collectionItems as Map?, isShowDetailPane: isShowDetailPane as bool? ?? that.isShowDetailPane, isClosingDetailPane: isClosingDetailPane as bool? ?? that.isClosingDetailPane, isDetailPaneActive: isDetailPaneActive as bool? ?? that.isDetailPaneActive, openDetailPaneRequest: openDetailPaneRequest as Unique<_OpenDetailPaneRequest>? ?? that.openDetailPaneRequest, closeDetailPane: closeDetailPane as Unique? ?? that.closeDetailPane, isZoomed: isZoomed as bool? ?? that.isZoomed, isShowAppBar: isShowAppBar as bool? ?? that.isShowAppBar, isInitialLoad: isInitialLoad as bool? ?? that.isInitialLoad, pendingRemovePage: pendingRemovePage as Unique? ?? that.pendingRemovePage, imageEditorRequest: imageEditorRequest as Unique? ?? that.imageEditorRequest, imageEnhancerRequest: imageEnhancerRequest as Unique? ?? that.imageEnhancerRequest, shareRequest: shareRequest as Unique<_ShareRequest?>? ?? that.shareRequest, slideshowRequest: slideshowRequest as Unique<_SlideshowRequest?>? ?? that.slideshowRequest, error: error == copyWithNull ? that.error : error as ExceptionEvent?); } final _State that; } extension $_StateCopyWith on _State { $_StateCopyWithWorker get copyWith => _$copyWith; $_StateCopyWithWorker get _$copyWith => _$_StateCopyWithWorkerImpl(this); } abstract class $_PageStateCopyWithWorker { _PageState call( {double? itemHeight, bool? hasLoaded, bool? shouldPlayLivePhoto}); } class _$_PageStateCopyWithWorkerImpl implements $_PageStateCopyWithWorker { _$_PageStateCopyWithWorkerImpl(this.that); @override _PageState call( {dynamic itemHeight = copyWithNull, dynamic hasLoaded, dynamic shouldPlayLivePhoto}) { return _PageState( itemHeight: itemHeight == copyWithNull ? that.itemHeight : itemHeight as double?, hasLoaded: hasLoaded as bool? ?? that.hasLoaded, shouldPlayLivePhoto: shouldPlayLivePhoto as bool? ?? that.shouldPlayLivePhoto); } final _PageState that; } extension $_PageStateCopyWith on _PageState { $_PageStateCopyWithWorker get copyWith => _$copyWith; $_PageStateCopyWithWorker get _$copyWith => _$_PageStateCopyWithWorkerImpl(this); } // ************************************************************************** // NpLogGenerator // ************************************************************************** extension _$_WrappedViewerStateNpLog on _WrappedViewerState { // ignore: unused_element Logger get _log => log; static final log = Logger("widget.viewer._WrappedViewerState"); } extension _$_BlocNpLog on _Bloc { // ignore: unused_element Logger get _log => log; static final log = Logger("widget.viewer._Bloc"); } extension _$_ContentBodyStateNpLog on _ContentBodyState { // ignore: unused_element Logger get _log => log; static final log = Logger("widget.viewer._ContentBodyState"); } extension _$_PageViewStateNpLog on _PageViewState { // ignore: unused_element Logger get _log => log; static final log = Logger("widget.viewer._PageViewState"); } // ************************************************************************** // ToStringGenerator // ************************************************************************** extension _$_StateToString on _State { String _$toString() { // ignore: unnecessary_string_interpolations return "_State {fileIdOrders: $fileIdOrders, files: {length: ${files.length}}, fileStates: {length: ${fileStates.length}}, index: $index, currentFile: ${currentFile == null ? null : "${currentFile!.fdPath}"}, currentFileState: $currentFileState, collection: $collection, collectionItemsController: $collectionItemsController, collectionItems: ${collectionItems == null ? null : "{length: ${collectionItems!.length}}"}, isShowDetailPane: $isShowDetailPane, isClosingDetailPane: $isClosingDetailPane, isDetailPaneActive: $isDetailPaneActive, openDetailPaneRequest: $openDetailPaneRequest, closeDetailPane: $closeDetailPane, isZoomed: $isZoomed, isShowAppBar: $isShowAppBar, isInitialLoad: $isInitialLoad, pendingRemovePage: $pendingRemovePage, imageEditorRequest: $imageEditorRequest, imageEnhancerRequest: $imageEnhancerRequest, shareRequest: $shareRequest, slideshowRequest: $slideshowRequest, error: $error}"; } } extension _$_PageStateToString on _PageState { String _$toString() { // ignore: unnecessary_string_interpolations return "_PageState {itemHeight: ${itemHeight == null ? null : "${itemHeight!.toStringAsFixed(3)}"}, hasLoaded: $hasLoaded, shouldPlayLivePhoto: $shouldPlayLivePhoto}"; } } extension _$_InitToString on _Init { String _$toString() { // ignore: unnecessary_string_interpolations return "_Init {}"; } } extension _$_SetIndexToString on _SetIndex { String _$toString() { // ignore: unnecessary_string_interpolations return "_SetIndex {index: $index}"; } } extension _$_RequestPageToString on _RequestPage { String _$toString() { // ignore: unnecessary_string_interpolations return "_RequestPage {index: $index}"; } } extension _$_SetCollectionToString on _SetCollection { String _$toString() { // ignore: unnecessary_string_interpolations return "_SetCollection {collection: $collection, itemsController: $itemsController}"; } } extension _$_SetCollectionItemsToString on _SetCollectionItems { String _$toString() { // ignore: unnecessary_string_interpolations return "_SetCollectionItems {value: ${value == null ? null : "[length: ${value!.length}]"}}"; } } extension _$_ToggleAppBarToString on _ToggleAppBar { String _$toString() { // ignore: unnecessary_string_interpolations return "_ToggleAppBar {}"; } } extension _$_ShowAppBarToString on _ShowAppBar { String _$toString() { // ignore: unnecessary_string_interpolations return "_ShowAppBar {}"; } } extension _$_HideAppBarToString on _HideAppBar { String _$toString() { // ignore: unnecessary_string_interpolations return "_HideAppBar {}"; } } extension _$_PauseLivePhotoToString on _PauseLivePhoto { String _$toString() { // ignore: unnecessary_string_interpolations return "_PauseLivePhoto {fileId: $fileId}"; } } extension _$_PlayLivePhotoToString on _PlayLivePhoto { String _$toString() { // ignore: unnecessary_string_interpolations return "_PlayLivePhoto {fileId: $fileId}"; } } extension _$_UnfavoriteToString on _Unfavorite { String _$toString() { // ignore: unnecessary_string_interpolations return "_Unfavorite {fileId: $fileId}"; } } extension _$_FavoriteToString on _Favorite { String _$toString() { // ignore: unnecessary_string_interpolations return "_Favorite {fileId: $fileId}"; } } extension _$_UnarchiveToString on _Unarchive { String _$toString() { // ignore: unnecessary_string_interpolations return "_Unarchive {fileId: $fileId}"; } } extension _$_ArchiveToString on _Archive { String _$toString() { // ignore: unnecessary_string_interpolations return "_Archive {fileId: $fileId}"; } } extension _$_ShareToString on _Share { String _$toString() { // ignore: unnecessary_string_interpolations return "_Share {fileId: $fileId}"; } } extension _$_EditToString on _Edit { String _$toString() { // ignore: unnecessary_string_interpolations return "_Edit {fileId: $fileId}"; } } extension _$_EnhanceToString on _Enhance { String _$toString() { // ignore: unnecessary_string_interpolations return "_Enhance {fileId: $fileId}"; } } extension _$_DownloadToString on _Download { String _$toString() { // ignore: unnecessary_string_interpolations return "_Download {fileId: $fileId}"; } } extension _$_DeleteToString on _Delete { String _$toString() { // ignore: unnecessary_string_interpolations return "_Delete {fileId: $fileId}"; } } extension _$_RemoveFromCollectionToString on _RemoveFromCollection { String _$toString() { // ignore: unnecessary_string_interpolations return "_RemoveFromCollection {value: $value}"; } } extension _$_StartSlideshowToString on _StartSlideshow { String _$toString() { // ignore: unnecessary_string_interpolations return "_StartSlideshow {fileId: $fileId}"; } } extension _$_OpenDetailPaneToString on _OpenDetailPane { String _$toString() { // ignore: unnecessary_string_interpolations return "_OpenDetailPane {shouldAnimate: $shouldAnimate}"; } } extension _$_CloseDetailPaneToString on _CloseDetailPane { String _$toString() { // ignore: unnecessary_string_interpolations return "_CloseDetailPane {}"; } } extension _$_DetailPaneClosedToString on _DetailPaneClosed { String _$toString() { // ignore: unnecessary_string_interpolations return "_DetailPaneClosed {}"; } } extension _$_ShowDetailPaneToString on _ShowDetailPane { String _$toString() { // ignore: unnecessary_string_interpolations return "_ShowDetailPane {}"; } } extension _$_SetDetailPaneInactiveToString on _SetDetailPaneInactive { String _$toString() { // ignore: unnecessary_string_interpolations return "_SetDetailPaneInactive {}"; } } extension _$_SetDetailPaneActiveToString on _SetDetailPaneActive { String _$toString() { // ignore: unnecessary_string_interpolations return "_SetDetailPaneActive {}"; } } extension _$_SetFileContentHeightToString on _SetFileContentHeight { String _$toString() { // ignore: unnecessary_string_interpolations return "_SetFileContentHeight {fileId: $fileId, value: ${value.toStringAsFixed(3)}}"; } } extension _$_SetIsZoomedToString on _SetIsZoomed { String _$toString() { // ignore: unnecessary_string_interpolations return "_SetIsZoomed {value: $value}"; } } extension _$_RemovePageToString on _RemovePage { String _$toString() { // ignore: unnecessary_string_interpolations return "_RemovePage {value: $value}"; } } extension _$_SetErrorToString on _SetError { String _$toString() { // ignore: unnecessary_string_interpolations return "_SetError {error: $error, stackTrace: $stackTrace}"; } }