StateTransitionCaller<Event, State> class
An entry in the BlocStateGraph that describes a state transition. With an optional sideEffect
Constructors
-
StateTransitionCaller({StateTransition<
Event, State, State> ? transition, SideEffect<Event, State> ? sideEffect}) -
constfactory
-
StateTransitionCaller.fromSideEffect({SideEffect<
Event, State> ? sideEffect}) -
constfactory
-
StateTransitionCaller.fromTransition({StateTransition<
Event, State, State> ? transition}) -
constfactory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sideEffect
→ SideEffect<
Event, State> ? -
The sideEffect that is called when the StateTransitionCaller is called.
final
-
transition
→ StateTransition<
Event, State, State> ? -
The transition that is called when the StateTransitionCaller is called.
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