urlValidationMessage method
Generates a validation error message for a field that must be a valid URL.
This message indicates that the fieldName
must be a valid URL.
Implementation
String urlValidationMessage(String fieldName) {
return Intl.message(
'$fieldName must be a valid URL.',
name: 'urlValidationMessage',
desc: 'Validation message for a field that must be a valid URL',
args: [fieldName],
locale: localeName,
);
}