Graph<STATE, EVENT, SIDE_EFFECT> class

Constructors

Graph(STATE initialState, Map<Type, State<STATE, EVENT, SIDE_EFFECT>> stateDefinitions, List<TransitionListener<STATE, EVENT, SIDE_EFFECT>> onTransitionListeners)

Properties

hashCode int
The hash code for this object.
no setterinherited
initialState → STATE
final
onTransitionListeners List<TransitionListener<STATE, EVENT, SIDE_EFFECT>>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stateDefinitions Map<Type, State<STATE, EVENT, SIDE_EFFECT>>
final

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