Device constructor
Device({
- Map<
String, Object?> ? attributes, - Map<
String, Object?> ? customData, - DeviceInfo? deviceInfo,
- String? id,
- DeviceNames? name,
- bool? notificationSupportedByAgent,
- List<
AgentOtherDeviceId> ? otherDeviceIds, - String? roomHint,
- String? structureHint,
- List<
String> ? traits, - String? type,
- 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,
});