operator - method

Unit operator -(
  1. Unit other
)

Implementation

Unit operator -(Unit other) {
  final num b = fromBase(other.toBase());
  return newInstance(value - b);
}