ActionTransition class

Represents a transition in a state based view workflow.

This type inherits all properties of Transition, but can be instantiated. It connects one ore more source states with a target state and is used for a direct unidirectional traversal between them.

Inheritance

Constructors

ActionTransition({required String id, required Set<String> sourceIds, required String targetId})
Creates an instance of ActionTransition.
const
ActionTransition.singleSource({required String id, required String sourceId, required String targetId})
Creates an instance of ActionTransition with a single source.

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
An unique identifier.
finalinherited
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceIds Set<String>
The IDs of all source states.
finalinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
targetId String
The ID of the target state.
finalinherited

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