getUnits method

  1. @override
Rational getUnits(
  1. LengthUnit unit
)
override

Gets the number of unit units in this unit of measurement.

Implementation

@override
Rational getUnits(LengthUnit unit) => baseValue / unit._meterCount;