add method

Duration add(
  1. Duration other
)

Returns a new Duration that is the sum of this duration and other.

Implementation

Duration add(Duration other) => this + other;