clamp abstract method Null safety
- dynamic lowerLimit,
- dynamic upperLimit
Clamps this integer to be in the range lowerLimit
- upperLimit
.
Implementation
IntX clamp(lowerLimit, upperLimit);
Clamps this integer to be in the range lowerLimit
- upperLimit
.
IntX clamp(lowerLimit, upperLimit);