operator + method

  1. @override
Duration operator +(
  1. Duration other
)
override

Adds this Duration and other and returns the sum as a new Duration object.

Implementation

@override
Duration operator +(Duration other) => value + other;