minValueValidationMessage method

String minValueValidationMessage(
  1. String fieldName,
  2. int value
)

Generates a validation error message for a field with minimum value.

This message indicates that the fieldName must have a minimum value of value.

Implementation

String minValueValidationMessage(String fieldName, int value) {
  return Intl.message(
    '$fieldName must have a minimum value of $value.',
    name: 'minValueValidationMessage',
    desc: 'Validation message for a field with minimum value',
    args: [fieldName, value],
    locale: localeName,
  );
}