setLastSelectedDeck method
- String deckName
Persist a new last selected deck name. This is called when the user changes the selected deck to map in the creator.
Implementation
Future<void> setLastSelectedDeck(String deckName) async {
await _preferences.put('last_selected_deck', deckName);
}