RunOneBlock<OUTPUT extends Object> class
Runs only the first block that satisfies the condition.
Constructors
-
RunOneBlock(Map<
bool Function(), OUTPUT Function()> children, OUTPUT defaultAction()) -
const
Properties
-
children
→ Map<
bool Function(), OUTPUT Function()> -
final
- defaultAction → OUTPUT Function()
-
final
- defaultCondition → dynamic
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
apply(
) → OUTPUT -
An alias for the execute function.
inherited
-
execute(
) → OUTPUT -
BANG OPERATOR ALERT
! action cannot be null because there is a default condition which returns true always. -
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