clearCache method

Future<void> clearCache(
  1. CacheCategory category
)

Clears cache for a specific category.

Implementation

Future<void> clearCache(CacheCategory category) async {
  developer.log(
    'Clearing cache for ${category.value}',
    name: 'CachedMovieService',
  );
  await _cacheService.clearCacheForCategory(category);
}