ordinal function

String ordinal(
  1. int count,
  2. String languageCode,
  3. {String? zero,
  4. String? one,
  5. String? two,
  6. String? few,
  7. String? many,
  8. String? other}
)

Implementation

String ordinal(
  int count,
  String languageCode, {
  String? zero,
  String? one,
  String? two,
  String? few,
  String? many,
  String? other,
}) {
  return _resolvePlural(
    count,
    languageCode,
    QuantityType.ordinal,
    zero: zero,
    one: one,
    two: two,
    few: few,
    many: many,
    other: other,
  );
}