getNotifier<T> static method

ValueNotifier<T?> getNotifier<T>(
  1. String key
)

Implementation

static ValueNotifier<T?> getNotifier<T>(String key) {
  if (!_cache.containsKey(key)) {
    _cache[key] = _CacheEntry<T>(data: null);
  }
  return _cache[key]!.notifier as ValueNotifier<T?>;
}