clearCache method
Implementation
Future<void> clearCache() async {
final prefs = await SharedPreferences.getInstance();
await prefs.remove(_cacheKey);
await prefs.remove(_lastFetchTimeKey);
_activeConfig = {};
}
Future<void> clearCache() async {
final prefs = await SharedPreferences.getInstance();
await prefs.remove(_cacheKey);
await prefs.remove(_lastFetchTimeKey);
_activeConfig = {};
}