EncryptedMaintenanceTask constructor

EncryptedMaintenanceTask(
  1. String id, {
  2. String? rev,
  3. List<Identifier>? identifier,
  4. int? created,
  5. int? modified,
  6. String? author,
  7. String? responsible,
  8. String? medicalLocationId,
  9. Set<CodeStub>? tags,
  10. Set<CodeStub>? codes,
  11. int? endOfLife,
  12. int? deletionDate,
  13. String? taskType,
  14. Set<EncryptedPropertyStub>? properties,
  15. TaskStatus? status,
  16. Set<String>? secretForeignKeys,
  17. Map<String, Set<Delegation>>? cryptedForeignKeys,
  18. Map<String, Set<Delegation>>? delegations,
  19. Map<String, Set<Delegation>>? encryptionKeys,
  20. Base64String? encryptedSelf,
  21. SecurityMetadata? securityMetadata,
})

Implementation

EncryptedMaintenanceTask(
	this.id,
	{
		String? rev,
		List<Identifier>? identifier,
		int? created,
		int? modified,
		String? author,
		String? responsible,
		String? medicalLocationId,
		Set<CodeStub>? tags,
		Set<CodeStub>? codes,
		int? endOfLife,
		int? deletionDate,
		String? taskType,
		Set<EncryptedPropertyStub>? properties,
		TaskStatus? status,
		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,
	identifier = identifier ?? [],
	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,
	taskType = taskType ?? null,
	properties = properties ?? {},
	status = status ?? TaskStatus.pending,
	secretForeignKeys = secretForeignKeys ?? {},
	cryptedForeignKeys = cryptedForeignKeys ?? {},
	delegations = delegations ?? {},
	encryptionKeys = encryptionKeys ?? {},
	encryptedSelf = encryptedSelf ?? null,
	securityMetadata = securityMetadata ?? null;