Transition<STATE, EVENT, SIDE_EFFECT> class abstract

The result of feeding an event into an RxStateMachine.

A transition is either Valid, when the current state defines a transition for the event, or Invalid otherwise.

Implementers

Constructors

Transition.invalid(STATE state, EVENT event)
Creates an Invalid transition for an event that state does not handle.
factory
Transition.valid(STATE fromState, EVENT event, STATE toState, SIDE_EFFECT? sideEffect)
Creates a Valid transition from fromState to toState, triggered by event and carrying an optional sideEffect.
factory

Properties

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