removeCachedData static method

Future<void> removeCachedData(
  1. String cacheKey
)

Removes specific data from the cache

Implementation

static Future<void> removeCachedData(String cacheKey) async {
  await init();

  await _prefs!.remove('$_cachePrefix$cacheKey');
  await _prefs!.remove('$_metadataPrefix$cacheKey');
}