resolveCode method

  1. @override
String? resolveCode(
  1. String code,
  2. String locale
)
override

The unformatted message for code in exactly locale ('' for the base), or null. This is the one method a subclass must write; the fallbacks to other locales happen around it. locale is already normalized (see Locales.normalize).

Implementation

@override
String? resolveCode(String code, String locale) =>
    _messages[_key(code, locale)];