GraphBuilder<STATE, EVENT, SIDE_EFFECT> class
Constructors
-
GraphBuilder([Graph<
STATE, EVENT, SIDE_EFFECT> ? _graph])
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
) → Graph< STATE, EVENT, SIDE_EFFECT> -
finishStates(
Set< STATE> states) → void -
initialState(
STATE state) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onTransition(
TransitionListener< STATE, EVENT, SIDE_EFFECT> listener) → void -
Sets
listenerthat will be called on each transition. -
state<
S extends STATE> (BuildState< S, STATE, EVENT, SIDE_EFFECT> buildState) → void - Adds state definition.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited