getDeckItem method

PackItem<DeckDefinition>? getDeckItem(
  1. ItemLocation location
)

Implementation

PackItem<DeckDefinition>? getDeckItem(ItemLocation location) =>
    getPack(location.namespace)?.getDeckItem(location.id, location.namespace);