DecryptedReceipt constructor

DecryptedReceipt(
  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. Map<ReceiptBlobType, String>? attachmentIds,
  13. List<String>? references,
  14. String? documentId,
  15. String? category,
  16. String? subCategory,
  17. Set<String>? secretForeignKeys,
  18. Map<String, Set<Delegation>>? cryptedForeignKeys,
  19. Map<String, Set<Delegation>>? delegations,
  20. Map<String, Set<Delegation>>? encryptionKeys,
  21. Base64String? encryptedSelf,
  22. SecurityMetadata? securityMetadata,
})

Implementation

DecryptedReceipt(
	this.id,
	{
		String? rev,
		int? created,
		int? modified,
		String? author,
		String? responsible,
		String? medicalLocationId,
		Set<CodeStub>? tags,
		Set<CodeStub>? codes,
		int? endOfLife,
		int? deletionDate,
		Map<ReceiptBlobType, String>? attachmentIds,
		List<String>? references,
		String? documentId,
		String? category,
		String? subCategory,
		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,
	attachmentIds = attachmentIds ?? {},
	references = references ?? [],
	documentId = documentId ?? null,
	category = category ?? null,
	subCategory = subCategory ?? null,
	secretForeignKeys = secretForeignKeys ?? {},
	cryptedForeignKeys = cryptedForeignKeys ?? {},
	delegations = delegations ?? {},
	encryptionKeys = encryptionKeys ?? {},
	encryptedSelf = encryptedSelf ?? null,
	securityMetadata = securityMetadata ?? null;