BoolSupplier class final
A BoolFunction that returns a user-supplied, nullable boolean when evaluated.
Allows the supplied value to be changed and the analysis reevaluated. Analysis reevaluation may produce an updated result after changing the supplied value.
Changing the values supplied to an analysis and reevaluating is more performant than creating and evaluating a new analysis with the new values.
- Inheritance
-
- Object
- BoolFunction
- BoolSupplier
Constructors
- BoolSupplier(bool? value)
-
Creates a BoolSupplier.
factory
Properties
Methods
-
evaluate(
) → Future< bool?> -
Evaluates the function.
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