operator - method

T operator -(
  1. T other
)

Subtracts other from this Measurement and returns the difference as a new object of T.

Implementation

T operator -(T other) => _getInstance(_baseValue - other._baseValue);