getTranslation method

PackTranslation getTranslation([
  1. String? locale
])

Implementation

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