DecryptedDocumentDto constructor

DecryptedDocumentDto({
  1. required String id,
  2. String? rev,
  3. int? created,
  4. int? modified,
  5. String? author,
  6. String? responsible,
  7. String? medicalLocationId,
  8. Set<CodeStubDto> tags = const {},
  9. Set<CodeStubDto> codes = const {},
  10. int? endOfLife,
  11. int? deletionDate,
  12. String? objectStoreReference,
  13. DecryptedDocumentDtoDocumentLocationEnum? documentLocation,
  14. DecryptedDocumentDtoDocumentTypeEnum? documentType,
  15. DecryptedDocumentDtoDocumentStatusEnum? documentStatus,
  16. String? externalUri,
  17. String? mainUti,
  18. String? name,
  19. String? version,
  20. Set<String> otherUtis = const {},
  21. String? storedICureDocumentId,
  22. String? externalUuid,
  23. int? size,
  24. String? hash,
  25. String? openingContactId,
  26. String? attachmentId,
  27. String? encryptedAttachment,
  28. String? decryptedAttachment,
  29. Set<String> secretForeignKeys = const {},
  30. Map<String, Set<DelegationDto>> cryptedForeignKeys = const {},
  31. Map<String, Set<DelegationDto>> delegations = const {},
  32. Map<String, Set<DelegationDto>> encryptionKeys = const {},
  33. String? encryptedSelf,
})

Returns a new DecryptedDocumentDto instance.

Implementation

DecryptedDocumentDto({
  required this.id,
  this.rev,
  this.created,
  this.modified,
  this.author,
  this.responsible,
  this.medicalLocationId,
  this.tags = const {},
  this.codes = const {},
  this.endOfLife,
  this.deletionDate,
  this.objectStoreReference,
  this.documentLocation,
  this.documentType,
  this.documentStatus,
  this.externalUri,
  this.mainUti,
  this.name,
  this.version,
  this.otherUtis = const {},
  this.storedICureDocumentId,
  this.externalUuid,
  this.size,
  this.hash,
  this.openingContactId,
  this.attachmentId,
  this.encryptedAttachment,
  this.decryptedAttachment,
  this.secretForeignKeys = const {},
  this.cryptedForeignKeys = const {},
  this.delegations = const {},
  this.encryptionKeys = const {},
  this.encryptedSelf,
});