Size constructor
Creates a new instance of the Size validation rule.
size
: The required size (length) for the string (required).message
: A custom validation message (optional) to be displayed when the validation fails.
Implementation
Size(this.size, {String? message}) : super(message);