t method
Looks up key in the nearest LocalizationScope; without one, gives
key itself (with args filled in).
Implementation
String t(String key, [Map<String, Object?> args = const {}]) =>
LocalizationScope.maybeOf(this)?.t(key, args: args) ??
(args.isEmpty ? key : StringInterpolator.process(key, args));