operator < method

bool operator < (Duration other)

Returns true if the value of this Duration is less than the value of other.

Implementation

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