concatenate method

UnitConverter concatenate(
  1. UnitConverter converter
)

Concatenates this converter with another converter.

The resulting converter is equivalent to first converting by the specified converter, and then converting by this converter.

Implementation

UnitConverter concatenate(UnitConverter converter) =>
    (converter is _IdentityConverter)
        ? this
        : _CompoundConverter(converter, this);