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})
const
factory
StateTransitionCaller.fromSideEffect({SideEffect<Event, State>? sideEffect})
const
factory
StateTransitionCaller.fromTransition({StateTransition<Event, State, State>? transition})
const
factory

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