t static method
Implementation
static String t(
BuildContext context,
String key, {
List<String>? fallbackKeys,
String? defaultValue,
Map<String, dynamic>? params,
int? count,
}) {
final I18Next currentInstance = _retrieveCurrentInstance(context)!;
final translator = Translator(
currentInstance.decodedMap,
key,
locale: currentInstance._locale,
fallbackKeys: fallbackKeys,
defaultValue: defaultValue,
interpolation: currentInstance._interpolationOptions,
params: params,
count: count,
);
return translator.translate();
}