operator <= method

bool operator <= (Duration other)

Whether this Duration is shorter than or equal to other.

Implementation

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