removeFromCache static method

void removeFromCache(
  1. StateNotifier notifier
)

Removes a cached StateNotifier from cache. Does nothing if value is not found in cache

Implementation

static void removeFromCache(StateNotifier notifier) {
  _cache.removeWhere((_, value) => value == notifier);
}