ConditionBuilder<T> class
Builder class to chain additional conditions.
Properties
-
conditions
→ List<
ConditionExt< T> > -
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
-
build(
{T orElse()?}) → T - Evaluates conditions in order and returns the value of the first true condition.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
on(
bool condition(), T value()) → ConditionBuilder< T> - Adds another condition and its corresponding value.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited