t method

String t(
  1. String key,
  2. HatangLocale locale, [
  3. Map<String, Object?>? params
])

Looks up a flat key with {param} interpolation and _one/_other plural resolution when params has a numeric count.

Implementation

String t(String key, HatangLocale locale, [Map<String, Object?>? params]) =>
    translate(map, locale, key, params: params);