requiredValidationMessage method

String requiredValidationMessage(
  1. String fieldName
)

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,
  );
}