add method

UnitConverter add(
  1. num value
)

Composes this converter with an additive offset.

Implementation

UnitConverter add(num value) {
  if (value == 0) return this;
  return composeWith(AddConverter(value));
}