IllegalStateTransition class

An exception that is thrown when attempting to execute a state transition for a StateMachine instance when the machine is in a state that is not defined as a legal "from" state by the StateTransition instance.

Implemented types

Constructors

IllegalStateTransition(StateTransition transition, State from, State to)

Properties

from State
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
message String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
to State
getter/setter pair
transition StateTransition
getter/setter pair

Methods

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

Operators

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