TransitionEvent class

Specifies the actions performed and the next state entered when a condition evaluates to TRUE.

Constructors

TransitionEvent({required String condition, required String eventName, required String nextState, List<Action>? actions})
TransitionEvent.fromJson(Map<String, dynamic> json)
factory

Properties

actions List<Action>?
The actions to be performed.
final
condition String
Required. A Boolean expression that when TRUE causes the actions to be performed and the nextState to be entered.
final
eventName String
The name of the transition event.
final
hashCode int
The hash code for this object.
no setterinherited
nextState String
The next state to enter.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited