getDeckTranslation method

DeckTranslation getDeckTranslation(
  1. String key, [
  2. String? locale
])

Implementation

DeckTranslation getDeckTranslation(String key, [String? locale]) =>
    findTranslation(
      (t) => t.decks[key],
      DeckTranslation(name: key),
      locale,
    );