StateMessage class
- Annotations
-
- @JsonSerializable()
Constructors
-
StateMessage({required String event, required String state, required String deviceType, StateMessageSystem? system, StateMessageHardware? hardware, List<
StateMessageProperty> ? properties}) -
StateMessage.fromJson(Map<
String, dynamic> json) -
factory
Properties
- deviceType ↔ String
-
getter/setter pair
- event ↔ String
-
getter/setter pair
- hardware ↔ StateMessageHardware?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
properties
↔ List<
StateMessageProperty> ? -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state ↔ String
-
state unknown,online,offline,will-offline
getter/setter pair
- system ↔ StateMessageSystem?
-
getter/setter pair
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