minLimit method

double minLimit(
  1. double min
)

Implementation

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