Device class
A device with attributes.
Constructors
- Device({String? deviceArn, String? deviceName, String? deviceSerialNumber, DeviceStatus? deviceStatus, DeviceStatusInfo? deviceStatusInfo, String? deviceType, String? macAddress, DeviceNetworkProfileInfo? networkProfileInfo, String? roomArn, String? softwareVersion})
-
Device.fromJson(Map<
String, dynamic> json) -
factory
Properties
- deviceArn → String?
-
The ARN of a device.
final
- deviceName → String?
-
The name of a device.
final
- deviceSerialNumber → String?
-
The serial number of a device.
final
- deviceStatus → DeviceStatus?
-
The status of a device. If the status is not READY, check the
DeviceStatusInfo value for details.
final
- deviceStatusInfo → DeviceStatusInfo?
-
Detailed information about a device's status.
final
- deviceType → String?
-
The type of a device.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- macAddress → String?
-
The MAC address of a device.
final
- networkProfileInfo → DeviceNetworkProfileInfo?
-
Detailed information about a device's network profile.
final
- roomArn → String?
-
The room ARN of a device.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- softwareVersion → String?
-
The software version of a device.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited