getApiKey method

Future<String?> getApiKey()

Implementation

Future<String?> getApiKey() async {
  final prefs = await sharedPreferences;
  return prefs.getString('apiKey');
}