State<StateIdentifier> constructor
- StateIdentifier identifier,
- {required Map<
Logic, StateIdentifier> events, - required List<
Conditional> actions, - StateIdentifier? defaultNextState,
- ConditionalType conditionalType = ConditionalType.unique}
Represents a state named identifier with a definition of events and actions associated with that state.
If provided, the defaultNextState
is the default next state if none
of the events match.
Implementation
State