Returns this number clamped to a maximum value max.
max
num clampMax(num max) => this > max ? max : this;