Device constructor
Device(
- String id, {
- String? rev,
- int? deletionDate,
- List<
Identifier> ? identifiers, - int? created,
- int? modified,
- String? author,
- String? responsible,
- Set<
CodeStub> ? tags, - Set<
CodeStub> ? codes, - int? endOfLife,
- String? medicalLocationId,
- String? externalId,
- String? name,
- String? type,
- String? brand,
- String? model,
- String? serialNumber,
- String? parentId,
- Uint8List? picture,
- Set<
DecryptedPropertyStub> ? properties, - Map<
String, List< ? hcPartyKeys,HexString> > - Map<
SpkiHexString, Map< ? aesExchangeKeys,String, Map< >AesExchangeKeyEncryptionKeypairIdentifier, HexString> > - Map<
AesExchangeKeyEncryptionKeypairIdentifier, Map< ? transferKeys,AesExchangeKeyEncryptionKeypairIdentifier, HexString> > - Map<
String, HexString> ? privateKeyShamirPartitions, - SpkiHexString? publicKey,
- Set<
SpkiHexString> ? publicKeysForOaepWithSha256,
Implementation
Device(
this.id,
{
String? rev,
int? deletionDate,
List<Identifier>? identifiers,
int? created,
int? modified,
String? author,
String? responsible,
Set<CodeStub>? tags,
Set<CodeStub>? codes,
int? endOfLife,
String? medicalLocationId,
String? externalId,
String? name,
String? type,
String? brand,
String? model,
String? serialNumber,
String? parentId,
Uint8List? picture,
Set<DecryptedPropertyStub>? properties,
Map<String, List<HexString>>? hcPartyKeys,
Map<SpkiHexString, Map<String, Map<AesExchangeKeyEncryptionKeypairIdentifier, HexString>>>? aesExchangeKeys,
Map<AesExchangeKeyEncryptionKeypairIdentifier, Map<AesExchangeKeyEncryptionKeypairIdentifier, HexString>>? transferKeys,
Map<String, HexString>? privateKeyShamirPartitions,
SpkiHexString? publicKey,
Set<SpkiHexString>? publicKeysForOaepWithSha256
}) : rev = rev ?? null,
deletionDate = deletionDate ?? null,
identifiers = identifiers ?? [],
created = created ?? null,
modified = modified ?? null,
author = author ?? null,
responsible = responsible ?? null,
tags = tags ?? {},
codes = codes ?? {},
endOfLife = endOfLife ?? null,
medicalLocationId = medicalLocationId ?? null,
externalId = externalId ?? null,
name = name ?? null,
type = type ?? null,
brand = brand ?? null,
model = model ?? null,
serialNumber = serialNumber ?? null,
parentId = parentId ?? null,
picture = picture ?? null,
properties = properties ?? {},
hcPartyKeys = hcPartyKeys ?? {},
aesExchangeKeys = aesExchangeKeys ?? {},
transferKeys = transferKeys ?? {},
privateKeyShamirPartitions = privateKeyShamirPartitions ?? {},
publicKey = publicKey ?? null,
publicKeysForOaepWithSha256 = publicKeysForOaepWithSha256 ?? {};