ruleMinStringLength method

  1. @override
String ruleMinStringLength(
  1. num min
)
override

The rule min string error message

In en, this message translates to: '{min, plural, =1{The text length can't be less than {min} character} other{The text length can't be less than {min} characters}}'

Implementation

@override
String ruleMinStringLength(num min) {
  String _temp0 = intl.Intl.pluralLogic(
    min,
    locale: localeName,
    other: 'La lunghezza del testo non può essere minore di $min caratteri',
    one: 'La lunghezza del testo non può essere minore di $min carattere',
  );
  return '$_temp0';
}