notInValuesValidationMessage method

String notInValuesValidationMessage(
  1. String fieldName
)

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

This message indicates that the fieldName should not be in the given list.

Implementation

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