Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
lastState
→ T
-
no setter
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
state
→ T
-
no setter
Methods
-
addFSMTransition<E>(T fromState, T toState, {FSMHandler<T, E>? handler, FSMFilter<T, E>? filter, String? eventTarget, String? eventPath, String? eventFragment, Map<String, String>? arguments})
→ 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