currentTranslations property

T get currentTranslations

Gets the current translations. Falls back to the base locale if the current locale is not loaded.

Implementation

T get currentTranslations {
  return translationMap[currentLocale] ?? translationMap[utils.baseLocale]!;
}