tr static method
translate the given key and possible named arguments that will be interpolated
key
the key
args
and named arguments
Implementation
static String tr(String key, {String? defaultValue, Map<String, String> args = const {}}) {
return instance.translate(key, defaultValue: defaultValue, args: args);
}