get method

String get(
  1. String locale,
  2. String key, [
  3. List args = const []
])

Get the translation for the given key. If the key is not found, it returns the key. Read more at LocalizerLocale.get.

Implementation

String get(String locale, String key, [List args = const []]) =>
    getOrDefault(locale, key, key, args);