RoundingMeasurementInterpreter<T> class
abstract
A MeasurementInterpreter that rounds its results to int
s.
This is useful for measurements that should not be represented fractionally, e.g. the number of items in a collection.
- Inheritance
-
- Object
- MeasurementInterpreter<
T> - RoundingMeasurementInterpreter
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
double value, {Precision precision = Precision.max}) → T -
Creates a measurement based on the value and the configured multiplier.
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