MutationObserverOptionsUpdated class final Advanced

An observer's options were replaced while it stayed attached to the same mutation — a rebuild that changed a callback or retry, say. TanStack Query calls this the observerOptionsUpdated event.

Inheritance

Constructors

MutationObserverOptionsUpdated(Mutation<Object?, Object?, Object?> mutation, MutationObserverRef observer)
Creates the event for mutation and the observer whose options changed.
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 whose options changed. Read-only from outside.
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