cancel method
Cancels any ongoing fetch operation for the ResultNotifier with the specified key.
See ResultNotifier.cancel for more information.
Implementation
Result<T>? cancel(K key, {bool always = false}) {
_cache[key]?.notifier.cancel(always: always);
return read(key);
}