An observer unsubscribed from the mutation; when it was the last one, the
collection timer has been armed by the time this fires. TanStack Query
calls this the observerRemoved event.
- Inheritance
-
- Object
- MutationCacheEvent
- MutationObserverRemoved
Constructors
-
MutationObserverRemoved(Mutation<
Object?, Object?, Object?> mutation, MutationObserverRef observer) -
Creates the event announcing that
observerdetached frommutation.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
mutation
→ Mutation<
Object?, Object?, Object?> -
The mutation the event is about, with its type arguments erased — a cache
listener sees every mutation there is.
finalinherited
- observer → MutationObserverRef
-
The observer that detached. Read-only from outside: an identity to hold
and compare, not something to drive.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited