mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-09 00:07:49 -06:00
16 lines
519 B
Dart
16 lines
519 B
Dart
part of 'document_details_cubit.dart';
|
|
|
|
@freezed
|
|
class DocumentDetailsState with _$DocumentDetailsState {
|
|
const factory DocumentDetailsState({
|
|
required DocumentModel document,
|
|
DocumentMetaData? metaData,
|
|
@Default(false) bool isFullContentLoaded,
|
|
String? fullContent,
|
|
@Default({}) Map<int, Correspondent> correspondents,
|
|
@Default({}) Map<int, DocumentType> documentTypes,
|
|
@Default({}) Map<int, Tag> tags,
|
|
@Default({}) Map<int, StoragePath> storagePaths,
|
|
}) = _DocumentDetailsState;
|
|
}
|