selectStandardProfile method

Future<void> selectStandardProfile()

Persist the standard profile as the last selected mapping.

Implementation

Future<void> selectStandardProfile() async {
  await _preferences.put(
      'last_selected_mapping', AnkiMapping.standardProfileName);
  notifyListeners();
}