DeviceDto constructor

DeviceDto({
  1. required String id,
  2. String? rev,
  3. int? deletionDate,
  4. List<IdentifierDto> identifiers = const [],
  5. int? created,
  6. int? modified,
  7. String? author,
  8. String? responsible,
  9. Set<CodeStubDto> tags = const {},
  10. Set<CodeStubDto> codes = const {},
  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. List<String> picture = const [],
  21. Set<PropertyStubDto> properties = const {},
  22. Map<String, List<String>> hcPartyKeys = const {},
  23. Map<String, Map<String, Map<String, String>>> aesExchangeKeys = const {},
  24. Map<String, Map<String, String>> transferKeys = const {},
  25. Map<String, String> privateKeyShamirPartitions = const {},
  26. String? publicKey,
})

Returns a new DeviceDto instance.

Implementation

DeviceDto({
  required this.id,
  this.rev,
  this.deletionDate,
  this.identifiers = const [],
  this.created,
  this.modified,
  this.author,
  this.responsible,
  this.tags = const {},
  this.codes = const {},
  this.endOfLife,
  this.medicalLocationId,
  this.externalId,
  this.name,
  this.type,
  this.brand,
  this.model,
  this.serialNumber,
  this.parentId,
  this.picture = const [],
  this.properties = const {},
  this.hcPartyKeys = const {},
  this.aesExchangeKeys = const {},
  this.transferKeys = const {},
  this.privateKeyShamirPartitions = const {},
  this.publicKey,
});