store<T> static method
Implementation
static void store<T>(String key, T data, {bool isFetching = false}) {
if (_cache.containsKey(key)) {
_cache[key]!.notifier.value = data;
_cache[key] = _CacheEntry<T>(data: data, isFetching: isFetching);
} else {
_cache[key] = _CacheEntry<T>(data: data, isFetching: isFetching);
}
}