TriggerTransition class
A transition, that triggers automatically on met condition.
This transition sub type can not be actively traversed, but will be triggered by the workflow engine if the set condition is met. This type can also not be summarized, each transition must be defined individually.
- Inheritance
-
- Object
- Transition
- TriggerTransition
Constructors
- TriggerTransition({required String id, required String sourceId, required String targetId, required bool condition()})
- Creates an instance of TriggerTransition.
Properties
- condition → bool Function()
-
final
- 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
- source → String
-
no setter
-
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
-
trigger(
) → bool
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited