operator + method

T operator + (
  1. T other
)

Adds this Measurement and other and returns the sum as a new object of T.

Implementation

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