DeviceDto constructor
DeviceDto({
- required String id,
- String? rev,
- int? deletionDate,
- List<
IdentifierDto> identifiers = const [], - int? created,
- int? modified,
- String? author,
- String? responsible,
- Set<
CodeStubDto> tags = const {}, - Set<
CodeStubDto> codes = const {}, - int? endOfLife,
- String? medicalLocationId,
- String? externalId,
- String? name,
- String? type,
- String? brand,
- String? model,
- String? serialNumber,
- String? parentId,
- List<
String> picture = const [], - Set<
PropertyStubDto> properties = const {}, - Map<
String, List< hcPartyKeys = const {},String> > - Map<
String, Map< aesExchangeKeys = const {},String, Map< >String, String> > - Map<
String, Map< transferKeys = const {},String, String> > - Map<
String, String> privateKeyShamirPartitions = const {}, - 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,
});