clearCategoryCache method

Future<void> clearCategoryCache(
  1. CacheCategory category
)

Invalidates specific category cache and notifies listeners.

Implementation

Future<void> clearCategoryCache(CacheCategory category) async {
  await _service.clearCacheForCategory(category);
  notifyListeners();
}