bool operator <=(
Duration other
)

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

Source

/**
 * Returns `true` if the value of this Duration
 * is less than or equal to the value of [other].
 */
bool operator <=(Duration other) => this._duration <= other._duration;