operator < method

bool operator < (Duration other)

Whether this Duration is shorter than other.

Implementation

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