bool operator <=(Duration other)

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

Source

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