EncryptedMaintenanceTask constructor
EncryptedMaintenanceTask(
- String 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< ? cryptedForeignKeys,Delegation> > - Map<
String, Set< ? delegations,Delegation> > - Map<
String, Set< ? encryptionKeys,Delegation> > - Base64String? encryptedSelf,
- 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;