getOrdinalRules function

String? getOrdinalRules(
  1. int number,
  2. String? localeCode
)

Implementation

String? getOrdinalRules(int number, String? localeCode) =>
    localeCode == 'en' ? 'other' : null;