PluralResolver typedef

PluralResolver = String Function(num n, {String? few, String? many, String? one, String? other, String? two, String? zero})

Selects the correct string depending on n

Implementation

typedef PluralResolver = String Function(
  num n, {
  String? zero,
  String? one,
  String? two,
  String? few,
  String? many,
  String? other,
});