operator > method Null safety

bool operator > (
  1. Duration other
)

Whether this Duration is longer than other.

Implementation

bool operator >(Duration other) => this._duration > other._duration;