DecryptedDocument class abstract

Implemented types
Annotations
  • @freezed

Constructors

DecryptedDocument.new({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})
const
factory

Properties

attachmentId String?
no setterinherited
author String?
no setterinherited
codes Set<CodeStub>
no setterinherited
copyWith → $DecryptedDocumentCopyWith<DecryptedDocument>
Create a copy of DecryptedDocument with the given fields replaced by the non-null parameter values.
no setterinherited
created int?
no setterinherited
cryptedForeignKeys Map<String, Set<Delegation>>
no setterinherited
decryptedAttachment Uint8List?
no setterinherited
delegations Map<String, Set<Delegation>>
no setterinherited
deletedAttachments List<DeletedAttachment>
no setterinherited
deletionDate int?
no setterinherited
documentLocation DocumentLocation?
no setterinherited
documentStatus DocumentStatus?
no setterinherited
documentType DocumentType?
no setterinherited
encryptedAttachment Uint8List?
no setterinherited
encryptedSelf Base64String?
no setterinherited
encryptionKeys Map<String, Set<Delegation>>
no setterinherited
endOfLife int?
no setterinherited
externalUri String?
no setterinherited
externalUuid String?
no setterinherited
hash String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
mainUti String?
no setterinherited
medicalLocationId String?
no setterinherited
modified int?
no setterinherited
name String?
no setterinherited
objectStoreReference String?
no setterinherited
openingContactId String?
no setterinherited
otherUtis Set<String>
no setterinherited
responsible String?
no setterinherited
rev String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondaryAttachments Map<String, DataAttachment>
no setterinherited
secretForeignKeys Set<String>
no setterinherited
securityMetadata SecurityMetadata?
no setterinherited
size int?
no setterinherited
storedICureDocumentId String?
no setterinherited
tags Set<CodeStub>
no setterinherited
version String?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

encode(DecryptedDocument value) Map<String, dynamic>
override
fromJSON(Map<String, dynamic> data) DecryptedDocument
override