clampValue method

double clampValue(
  1. double min,
  2. double max
)

Implementation

double clampValue(double min, double max) {
  if (this == null) return min;
  return this!.clamp(min, max);
}