translatePlural function

String translatePlural(
  1. String key,
  2. num value, {
  3. Map<String, dynamic>? args,
})

Translate the selected key into the currently selected locale using pluralization

Implementation

String translatePlural(String key, num value, {Map<String, dynamic>? args}) {
  return Localization.instance.plural(key, value, args: args);
}