getUnits method
Gets the number of unit
units in this unit of measurement.
Implementation
@override
Rational getUnits(QuantityUnit unit) => baseValue / unit._unitCount;
Gets the number of unit
units in this unit of measurement.
@override
Rational getUnits(QuantityUnit unit) => baseValue / unit._unitCount;