DeviceState class

Snapshot of per-device state emitted by MetaWearablesDat.deviceStateStream.

Currently carries only thermalLevel; this is a value type rather than a raw ThermalLevel so additional state fields can be added later without breaking the public API.

Annotations

Constructors

DeviceState({required ThermalLevel thermalLevel})
const

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thermalLevel ThermalLevel
Current thermal level of the active 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.
override

Operators

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