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