Device constructor

Device({
  1. Map<String, Object?>? attributes,
  2. Map<String, Object?>? customData,
  3. DeviceInfo? deviceInfo,
  4. String? id,
  5. DeviceNames? name,
  6. bool? notificationSupportedByAgent,
  7. List<AgentOtherDeviceId>? otherDeviceIds,
  8. String? roomHint,
  9. String? structureHint,
  10. List<String>? traits,
  11. String? type,
  12. bool? willReportState,
})

Implementation

Device({
  this.attributes,
  this.customData,
  this.deviceInfo,
  this.id,
  this.name,
  this.notificationSupportedByAgent,
  this.otherDeviceIds,
  this.roomHint,
  this.structureHint,
  this.traits,
  this.type,
  this.willReportState,
});