DHUIntlNumExtensions extension
on
- on
Methods
-
getPluralCategory<
T> ({required T other, T? zero, T? one, T? two, T? few, T? many, String? locale, int? precision, String? meaning, bool useExplicitNumberCases = true}) → T -
Available on num, provided by the DHUIntlNumExtensions extension
Determines the plural category of this number based on the current locale. -
pluralize(
{required String other, String? zero, String? one, String? two, String? few, String? many, String? desc, Map< String, Object> ? examples, String? locale, int? precision, String? name, List<Object> ? args, String? meaning, bool? skip}) → String -
Available on num, provided by the DHUIntlNumExtensions extension
Returns a localized string based on the plural category of this number.