inValuesValidationMessage method

String inValuesValidationMessage(
  1. String fieldName
)

Generates a validation error message for a field that must be in a list.

This message indicates that the fieldName must be in the given list.

Implementation

String inValuesValidationMessage(String fieldName) {
  return Intl.message(
    '$fieldName must be in the given list.',
    name: 'inValuesValidationMessage',
    desc: 'Validation message for a field that must be in a list',
    args: [fieldName],
    locale: localeName,
  );
}