getTranslation method
- String? locale
Implementation
PackTranslation getTranslation([String? locale]) =>
(locale == null ? null : translations[locale]) ??
translations[getLocale()] ??
PackTranslation();
PackTranslation getTranslation([String? locale]) =>
(locale == null ? null : translations[locale]) ??
translations[getLocale()] ??
PackTranslation();