FSM<T> class
mixin
Constructors
- FSM()
Properties
Methods
-
addFSMTransition<
E> (T fromState, T toState, {FSMHandler< T, E> ? handler, FSMFilter<T, E> ? filter, List<String> ? eventPaths}) → void -
changeState(
T newState) → void -
changeStateByEvent(
T newState) → void -
dispose(
) → void - Unsubscribes from the bus: the state machine stops reacting to events. A repeated initFSM turns it on again.
-
initFSM(
EventBus bus, T currentState, {T? lastState}) → void -
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