converterTo method

UnitConverter converterTo(
  1. Unit<Dimension> other
)

Returns a converter from this unit to other.

Implementation

UnitConverter converterTo(Unit other) {
  return CompoundConverter(converter, other.converter.inverted);
}