Measurement

constructor(value: Double, unit: UnitType)

Parameters

UnitType

The type of unit (e.g., UnitTemperature, UnitSpeed).

value

The numerical value of the measurement.

unit

The unit of the measurement.