trPlural method
Returns a translated string with pluralization support and arguments replaced.
If i
is 1, returns trArgs with args
replaced. Otherwise, returns pluralKey
translated string with args
replaced.
Implementation
String trPlural([
String? pluralKey,
int? i,
List<String> args = const <String>[],
]) =>
i == 1 ? trArgs(args) : pluralKey!.trArgs(args);