alphaNumValidationMessage method

String alphaNumValidationMessage(
  1. String fieldName
)

Generates a validation error message for a field that must only contain alphanumeric characters.

This message indicates that the fieldName must only contain alphanumeric characters.

Implementation

String alphaNumValidationMessage(String fieldName) {
  return Intl.message(
    '$fieldName must only contain alphanumeric characters.',
    name: 'alphaNumValidationMessage',
    desc:
        'Validation message for a field that must only contain alphanumeric characters',
    args: [fieldName],
    locale: localeName,
  );
}