operator <= method

bool operator <=(
  1. Duration other
)

Check if duration is less than or equal to another

Implementation

bool operator <=(Duration other) => inMilliseconds <= other.inMilliseconds;