FloatSupplier class final

A FloatFunction that returns a user-supplied, nullable float 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

Constructors

FloatSupplier(double? value)
Creates a FloatSupplier.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value ↔ double?
The nullable float supplied to an analysis.
getter/setter pair

Methods

evaluate() → Future<double?>
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