nDaysInSentence method
Label for the number of days
In en, this message translates to: '{count, plural, =1{an one day} other{a {count} days}}'
Implementation
@override
String nDaysInSentence(num count) {
final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact(
locale: localeName,
);
final String countString = countNumberFormat.format(count);
String _temp0 = intl.Intl.pluralLogic(
count,
locale: localeName,
other: 'a $countString days',
one: 'an one day',
);
return '$_temp0';
}