DerivedMeasurementInterpreter<A extends Measurement<A>, B extends Measurement<B>> class

An interpreter for derived measurements (from two basic measurements).

Inheritance

Constructors

DerivedMeasurementInterpreter(MeasurementInterpreter<A> a, MeasurementInterpreter<B> b, [bool reciprocal = false, MeasurementPrefix prefix = const MeasurementPrefix.unit(), String? name])
Constructs an interpreter from two basic interpreters.

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}) DerivedMeasurement<A, B>
Creates a measurement based on the value and the configured multiplier.
override
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