limitLow method

double limitLow(
  1. double min
)

Restrict value from min.

Implementation

double limitLow(double min) {
  if (this < min) {
    return min;
  }
  return this;
}