MutationRemoved class final Advanced

A mutation left the cache: garbage-collected after its last observer left, or removed through MutationCache.remove or MutationCache.clear. TanStack Query calls this the removed event.

Inheritance

Constructors

MutationRemoved(Mutation<Object?, Object?, Object?> mutation)
Creates the event announcing that mutation left the cache.
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
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