withLowerLimit method

int withLowerLimit(
  1. int min
)

returns this if it is not greater than max, otherwise max

Implementation

int withLowerLimit(int min) => (this as num)._withLowerLimit(min).toInt();