getNotifier method
Implementation
@protected
@visibleForTesting
ResultNotifier<T> getNotifier(K key, {bool shouldRefresh = false, bool force = false, bool alwaysTouch = false}) {
var notifier = _cache[key]?.notifier;
if (notifier != null && shouldRefresh) {
Future.microtask(() => notifier!.isActive ? notifier.refresh(force: force, alwaysTouch: alwaysTouch) : null);
} else if (notifier == null) {
notifier = (_cache[key] = _createNotifier(key)).notifier;
_updateAutoDisposeTimer();
}
return notifier;
}