ruleMaxStringLength method
The rule max string error message
In en, this message translates to: '{max, plural, =1{The text length can't be greater than {max} character} other{The text length can't be greater than {max} characters}}'
Implementation
@override
String ruleMaxStringLength(num max) {
String _temp0 = intl.Intl.pluralLogic(
max,
locale: localeName,
other: 'La longueur du texte ne peut pas dépasser $max caractères',
one: 'La longueur du texte ne peut pas être supérieure à $max caractère',
);
return '$_temp0';
}