DecryptedDocument constructor
const
DecryptedDocument({
- required String id,
- @Default(null) String? rev,
- @Default(null) int? created,
- @Default(null) int? modified,
- @Default(null) String? author,
- @Default(null) String? responsible,
- @Default(null) String? medicalLocationId,
- @Default({}) Set<
CodeStub> tags, - @Default({}) Set<
CodeStub> codes, - @Default(null) int? endOfLife,
- @Default(null) int? deletionDate,
- @Default(null) DocumentLocation? documentLocation,
- @Default(null) DocumentType? documentType,
- @Default(null) DocumentStatus? documentStatus,
- @Default(null) String? externalUri,
- @Default(null) String? name,
- @Default(null) String? version,
- @Default(null) String? storedICureDocumentId,
- @Default(null) String? externalUuid,
- @Default(null) int? size,
- @Default(null) String? hash,
- @Default(null) String? openingContactId,
- @Default(null) String? attachmentId,
- @Default(null) String? objectStoreReference,
- @Default(null) String? mainUti,
- @Default({}) Set<
String> otherUtis, - @Default({}) Map<
String, DataAttachment> secondaryAttachments, - @Default([]) List<
DeletedAttachment> deletedAttachments, - @Default(null) Uint8List? encryptedAttachment,
- @Default(null) Uint8List? decryptedAttachment,
- @Default({}) Set<
String> secretForeignKeys, - @Default({}) Map<
String, Set< cryptedForeignKeys,Delegation> > - @Default({}) Map<
String, Set< delegations,Delegation> > - @Default({}) Map<
String, Set< encryptionKeys,Delegation> > - @Default(null) Base64String? encryptedSelf,
- @Default(null) SecurityMetadata? securityMetadata,
Implementation
const factory DecryptedDocument({
required String id,
@Default(null) String? rev,
@Default(null) int? created,
@Default(null) int? modified,
@Default(null) String? author,
@Default(null) String? responsible,
@Default(null) String? medicalLocationId,
@Default({}) Set<CodeStub> tags,
@Default({}) Set<CodeStub> codes,
@Default(null) int? endOfLife,
@Default(null) int? deletionDate,
@Default(null) DocumentLocation? documentLocation,
@Default(null) DocumentType? documentType,
@Default(null) DocumentStatus? documentStatus,
@Default(null) String? externalUri,
@Default(null) String? name,
@Default(null) String? version,
@Default(null) String? storedICureDocumentId,
@Default(null) String? externalUuid,
@Default(null) int? size,
@Default(null) String? hash,
@Default(null) String? openingContactId,
@Default(null) String? attachmentId,
@Default(null) String? objectStoreReference,
@Default(null) String? mainUti,
@Default({}) Set<String> otherUtis,
@Default({}) Map<String, DataAttachment> secondaryAttachments,
@Default([]) List<DeletedAttachment> deletedAttachments,
@Default(null) Uint8List? encryptedAttachment,
@Default(null) Uint8List? decryptedAttachment,
@Default({}) Set<String> secretForeignKeys,
@Default({}) Map<String, Set<Delegation>> cryptedForeignKeys,
@Default({}) Map<String, Set<Delegation>> delegations,
@Default({}) Map<String, Set<Delegation>> encryptionKeys,
@Default(null) Base64String? encryptedSelf,
@Default(null) SecurityMetadata? securityMetadata,
}) = _DecryptedDocument;