Max constructor
Max(
- num number
Creates an instance of the Max validation rule with a specified number.
Parameters:
number: The maximum length allowed for the value.
Implementation
Max(this.number) : super.withKey(key);