HakoStateEvent<T> class
abstract
Base class for events that involve state values in a Hako state container.
Constructors
- HakoStateEvent(T current, {String? name})
-
Creates a new HakoStateEvent with the specified state value and
optional name.
const
Properties
- current → T
-
The current state value involved in the event.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → HakoStateKey
-
The unique identifier key for the state value involved in the event.
final
- name → String?
-
Returns the optional name identifier for the state value.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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