operator - method

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

Subtracts other from this Duration and returns the difference as a new Duration object.

Implementation

@override
Duration operator -(Duration other) => $value - other;