operator + method

Duration operator +(
  1. Duration other
)

Add another duration

Implementation

Duration operator +(Duration other) =>
    Duration(milliseconds: inMilliseconds + other.inMilliseconds);