FirstErrorlessBlock<OUTPUT extends Object> class
Runs the first child that runs without an error.
Constructors
-
FirstErrorlessBlock(Iterable<
Callback< children, [Callback<OUTPUT> >OUTPUT> ? defaultChild]) -
const
Properties
-
children
→ Iterable<
Callback< OUTPUT> > -
final
-
defaultChild
→ Callback<
OUTPUT> ? -
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
-
apply(
) → OUTPUT -
An alias for the execute function.
inherited
-
execute(
) → OUTPUT -
BANG OPERATOR ALERT
! defaultChild is already checked for null. -
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