getBackgroundTranslation method

BackgroundTranslation getBackgroundTranslation(
  1. String key, [
  2. String? locale
])

Implementation

BackgroundTranslation getBackgroundTranslation(String key,
        [String? locale]) =>
    findTranslation(
      (t) => t.backgrounds[key],
      BackgroundTranslation(name: key),
      locale,
    );