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