Device constructor

Device(
  1. String id, {
  2. String? rev,
  3. int? deletionDate,
  4. List<Identifier>? identifiers,
  5. int? created,
  6. int? modified,
  7. String? author,
  8. String? responsible,
  9. Set<CodeStub>? tags,
  10. Set<CodeStub>? codes,
  11. int? endOfLife,
  12. String? medicalLocationId,
  13. String? externalId,
  14. String? name,
  15. String? type,
  16. String? brand,
  17. String? model,
  18. String? serialNumber,
  19. String? parentId,
  20. Uint8List? picture,
  21. Set<DecryptedPropertyStub>? properties,
  22. Map<String, List<HexString>>? hcPartyKeys,
  23. Map<SpkiHexString, Map<String, Map<AesExchangeKeyEncryptionKeypairIdentifier, HexString>>>? aesExchangeKeys,
  24. Map<AesExchangeKeyEncryptionKeypairIdentifier, Map<AesExchangeKeyEncryptionKeypairIdentifier, HexString>>? transferKeys,
  25. Map<String, HexString>? privateKeyShamirPartitions,
  26. SpkiHexString? publicKey,
  27. 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 ?? {};