EncryptedArticle constructor

EncryptedArticle(
  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. String? name,
  13. String? classification,
  14. Set<String>? secretForeignKeys,
  15. Map<String, Set<Delegation>>? cryptedForeignKeys,
  16. Map<String, Set<Delegation>>? delegations,
  17. Map<String, Set<Delegation>>? encryptionKeys,
  18. Base64String? encryptedSelf,
  19. SecurityMetadata? securityMetadata,
})

Implementation

EncryptedArticle(
	this.id,
	{
		String? rev,
		int? created,
		int? modified,
		String? author,
		String? responsible,
		String? medicalLocationId,
		Set<CodeStub>? tags,
		Set<CodeStub>? codes,
		int? endOfLife,
		int? deletionDate,
		String? name,
		String? classification,
		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,
	name = name ?? null,
	classification = classification ?? null,
	secretForeignKeys = secretForeignKeys ?? {},
	cryptedForeignKeys = cryptedForeignKeys ?? {},
	delegations = delegations ?? {},
	encryptionKeys = encryptionKeys ?? {},
	encryptedSelf = encryptedSelf ?? null,
	securityMetadata = securityMetadata ?? null;