StateEvent class

Annotations
  • @_NameSource('spec')

Constructors

StateEvent({required Map<String, Object?> content, String? stateKey, required String type})
StateEvent.fromJson(Map<String, Object?> json)

Properties

content Map<String, Object?>
The content of the event.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stateKey String?
The state_key of the state event. Defaults to an empty string.
getter/setter pair
type String
The type of event to send.
getter/setter pair

Methods

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

Operators

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