t method
Translates key; returns the resolved text (the key itself when
missing — never blanks).
Implementation
String t(
String key, {
Map<String, Object?> params = const {},
int? pluralCount,
}) => port.translate(key, params: params, pluralCount: pluralCount).text;