operator > method

bool operator >(
  1. Duration other
)

Check if duration is greater than another

Implementation

bool operator >(Duration other) => inMilliseconds > other.inMilliseconds;