BeforeTransitionEvent<T> class

Transition event emitted before a transition starts, can be aborted.

Inheritance

Constructors

BeforeTransitionEvent(Machine<T> machine, State<T>? source, State<T>? target)

Properties

hashCode int
The hash code for this object.
no setterinherited
isAborted bool
Returns true, if the transition was aborted.
no setter
machine Machine<T>
The state machine triggering this event.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source State<T>?
The source state of the transition.
finalinherited
target State<T>?
The target state of the transition.
finalinherited

Methods

abort() → void
Marks the transition as aborted.
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