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