Determines the maximum limitation of two values.
int limitMax(int maxValue) => this > maxValue ? maxValue : this;