operator + method

Time operator +(
  1. Duration duration
)

Adds the given duration to this time. A RangeError is thrown if the resultant time is less than min or greater than max.

Implementation

Time operator +(Duration duration) => _adjust(duration, inverse: false);