clearPodPlacesCache static method

Future<void> clearPodPlacesCache()

Clear the Pod places cache.

Implementation

static Future<void> clearPodPlacesCache() async {
  try {
    final prefs = await SharedPreferences.getInstance();
    await prefs.remove(_podPlacesCacheKey);
    await prefs.remove(_podPlacesCacheTimestampKey);
  } catch (_) {
    // Silently fail.
  }
}