Conditional class final
A Conditional is a simple ConfigureStep that will either return its child or a Skipped Step based on condition.
- Inheritance
-
- Object
- Step
- ConfigureStep
- Conditional
Constructors
- Conditional({required bool condition, required Step child})
-
Default const constructor for a conditional.
Uses the condition on runtime.
const
Properties
Methods
-
configure(
) → Step -
Composes Steps into one unit to enable more
modular and understandable workflows.
override
-
execute(
FlowContextController controller, [FutureOr< Step?> candidate()?]) → FutureOr<Step?> -
A ConfigureStep will just executes it's underlying Steps of configure().
inherited
-
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