LessThanOrEqualRule constructor
Creates a new LessThanOrEqualRule.
maxValue is the maximum value allowed.
errorMessage is the custom error message to be displayed if validation fails.
Implementation
const LessThanOrEqualRule(this.maxValue, {super.errorMessage});