baseUnitConverterTo method

QuantityConverter baseUnitConverterTo(
  1. SystemOfUnits<Temperature> anotherSystem
)
inherited

Compose a QuantityConverter function to convert amounts from one SystemOfUnits baseUnit to another SystemOfUnits baseUnit

Implementation

QuantityConverter baseUnitConverterTo(SystemOfUnits<K> anotherSystem) =>
    (quantity) => quantity * _baseUnitConversionFactor / anotherSystem._baseUnitConversionFactor;