IcureStub constructor
IcureStub(
- String id, {
- String? rev,
- int? created,
- int? modified,
- String? author,
- String? responsible,
- String? medicalLocationId,
- Set<
CodeStub> ? tags, - Set<
CodeStub> ? codes, - int? endOfLife,
- Set<
String> ? secretForeignKeys, - Map<
String, Set< ? cryptedForeignKeys,Delegation> > - Map<
String, Set< ? delegations,Delegation> > - Map<
String, Set< ? encryptionKeys,Delegation> > - SecurityMetadata? securityMetadata,
Implementation
IcureStub(
this.id,
{
String? rev,
int? created,
int? modified,
String? author,
String? responsible,
String? medicalLocationId,
Set<CodeStub>? tags,
Set<CodeStub>? codes,
int? endOfLife,
Set<String>? secretForeignKeys,
Map<String, Set<Delegation>>? cryptedForeignKeys,
Map<String, Set<Delegation>>? delegations,
Map<String, Set<Delegation>>? encryptionKeys,
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,
secretForeignKeys = secretForeignKeys ?? {},
cryptedForeignKeys = cryptedForeignKeys ?? {},
delegations = delegations ?? {},
encryptionKeys = encryptionKeys ?? {},
securityMetadata = securityMetadata ?? null;