dateValidationMessage method

String dateValidationMessage(
  1. String fieldName
)

Generates a validation error message for a field that should be a valid date.

This message indicates that the fieldName must be a valid date.

Implementation

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