Conditional class final

A Conditional is a simple ConfigureStep that will either return its child or a Skipped Step based on condition.

Inheritance

Constructors

Conditional({required bool condition, required Step child})
Default const constructor for a conditional. Uses the condition on runtime.
const

Properties

child → Step
Step that maybe will be in condition.
final
condition → bool
If the child should be returned on configuration.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

configure() → Step
Composes Steps into one unit to enable more modular and understandable workflows.
override
execute(FlowController 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