validatorMessage method
Retrieves the validator message for the field.
fieldName
: The name or label of the form field being validated.
Subclasses should implement this method to provide specific validation messages.
Implementation
@override
String validatorMessage(String fieldName) {
return l10n.phoneNumberValidationMessage(fieldName);
}