defaultInterpreter property

MeasurementInterpreter<T>? defaultInterpreter
final

The default unit for this measurement.

Operations that require a unit conversion, but are not provided one (e.g. toString) will make use of this unit.

By default, this is set as the unit used to create the measurement. It can be changed using withDefaultUnit.

Implementation

final MeasurementInterpreter<T>? defaultInterpreter;