EncryptedDocument constructor

EncryptedDocument(
  1. String id, {
  2. String? rev,
  3. int? created,
  4. int? modified,
  5. String? author,
  6. String? responsible,
  7. String? medicalLocationId,
  8. Set<CodeStub>? tags,
  9. Set<CodeStub>? codes,
  10. int? endOfLife,
  11. int? deletionDate,
  12. DocumentLocation? documentLocation,
  13. DocumentType? documentType,
  14. DocumentStatus? documentStatus,
  15. String? externalUri,
  16. String? name,
  17. String? version,
  18. String? storedICureDocumentId,
  19. String? externalUuid,
  20. int? size,
  21. String? hash,
  22. String? openingContactId,
  23. String? attachmentId,
  24. String? objectStoreReference,
  25. String? mainUti,
  26. Set<String>? otherUtis,
  27. Map<String, DataAttachment>? secondaryAttachments,
  28. List<DeletedAttachment>? deletedAttachments,
  29. Uint8List? encryptedAttachment,
  30. Uint8List? decryptedAttachment,
  31. Set<String>? secretForeignKeys,
  32. Map<String, Set<Delegation>>? cryptedForeignKeys,
  33. Map<String, Set<Delegation>>? delegations,
  34. Map<String, Set<Delegation>>? encryptionKeys,
  35. Base64String? encryptedSelf,
  36. 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;