Invalid<STATE, EVENT, SIDE_EFFECT> class

A transition that was rejected because the current state does not handle the event. The state machine stays in fromState.

Inheritance

Constructors

Invalid(STATE fromState, EVENT event)
Creates an invalid transition for event in fromState.

Properties

event → EVENT
The event that could not be handled.
final
fromState → STATE
The state the machine was (and still is) in.
final
hashCode → int
The hash code for this object.
no setterinherited
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
toString() → String
A string representation of this object.
inherited

Operators

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