clamp abstract method Null safety

IntX clamp(
  1. dynamic lowerLimit,
  2. dynamic upperLimit
)

Clamps this integer to be in the range lowerLimit - upperLimit.

Implementation

IntX clamp(lowerLimit, upperLimit);