Future<void> saveApiKey(String apiKey) async { final prefs = await sharedPreferences; await prefs.setString('apiKey', apiKey); }