Device class

Information about a device.

Constructors

Device({required String certificateArn, required String id, required String thingArn, bool? syncShadow})
Device.fromJson(Map<String, dynamic> json)
factory

Properties

certificateArn String
The ARN of the certificate associated with the device.
final
hashCode int
The hash code for this object.
no setterinherited
id String
A descriptive or arbitrary ID for the device. This value must be unique within the device definition version. Max length is 128 characters with pattern ''a-zA-Z0-9:_-+''.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
syncShadow bool?
If true, the device's local shadow will be automatically synced with the cloud.
final
thingArn String
The thing ARN of the device.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited