ruleMaxListLength method

  1. @override
String ruleMaxListLength(
  1. num max
)
override

The rule max list length error message

In en, this message translates to: '{max, plural, other{The list length can't be greater than {max}}}'

Implementation

@override
String ruleMaxListLength(num max) {
  String _temp0 = intl.Intl.pluralLogic(
    max,
    locale: localeName,
    other: 'La taille de la liste ne peut pas être supérieure à $max',
  );
  return '$_temp0';
}