Transition<State> class
Represents a state transition in a Qubit.
Constructors
- Transition({required State currentState, required State nextState, required dynamic event})
-
const
Properties
- currentState → State
-
The current state before the transition.
final
- event → dynamic
-
The event that triggered the transition.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- nextState → State
-
The next state after the transition.
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
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited