phoneNumberValidationMessage method

String phoneNumberValidationMessage(
  1. String fieldName
)

Generates a validation error message for a field that must be a valid phone number. This message indicates that the field fieldName must be a valid phone number.

Implementation

String phoneNumberValidationMessage(String fieldName) {
  return Intl.message(
    '$fieldName must be a valid phone number.',
    name: 'phoneNumberValidationMessage',
    desc: 'Validation message for a field that must be a valid phone number',
    args: [fieldName],
    locale: localeName,
  );
}