NavigableTask class

Definition of task which can handle routing between Tasks

The navigationRules defines on which Step StepIdentifier which next Step is called. The logic which Step is called is defined in the NavigationRule

Inheritance

Constructors

factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id TaskIdentifier
latefinalinherited
initalStep Step?
finalinherited
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
steps List<Step>
finalinherited

Methods

addNavigationRule({required StepIdentifier forTriggerStepIdentifier, required NavigationRule navigationRule}) → void
Adds a NavigationRule to the navigationRule Map It only adds the NavigationRule if none is already set for the StepIdentifier
getRuleByStepIdentifier(StepIdentifier? stepIdentifier) NavigationRule?
Gets the NavigationRule which is defined for the given StepIndentifier Returns null if none is defined
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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