EnabledWhen class final Option values
The Enabled.when variant: enabled while predicate returns true for
the query.
Constructors
-
EnabledWhen(bool predicate(Query<
Object?> query)) -
Enabled while
predicatesays so; prefer spelling itEnabled.when(…).const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
Query< Object?> query) → bool -
Whether
querymay fetch on its own right now.inherited -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override