translatePlural method

String translatePlural(
  1. String key,
  2. int count
)

Returns the appropriate plural form of a string based on a given count.

key is the translation key. count is the count for determining the plural form. Returns the translated plural form.

Implementation

String translatePlural(String key, int count) {
  return translator.translatePlural(key, count, _localizedStrings);
}