api/internal/gamification/game_variables library

Functions

resolveGameSlots(List<GamificationSlot> slots, VariableScope scope) → List<GamificationSlot>
resolveGameValues for each slot, keeping its outcome key.
resolveGameValues(Map<String, dynamic> values, VariableScope scope) → Map<String, dynamic>
Resolves {{ }} tokens in the marketer's text before it reaches the skin, so init.values and init.slots[].values carry finished text.