Returns the min if the number is less than min, max if greater than max, or the number itself otherwise.
min
max
num forceInRange(num min, final num max) => this < min ? min : (this > max ? max : this);