DevtoolsObserver class

An observer to sent change events to the dev tools.

Implemented types

Constructors

DevtoolsObserver()

Properties

hashCode int
The hash code for this object.
no setterinherited
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
onChange(QueryBase query, QueryState nextState) → void
Called when a query state is updated.
override
onError(QueryBase query, StackTrace stackTrace) → void
Called if a query fails.
override
onMutationChange(Mutation mutation, MutationState nextState) → void
Called when the state of a mutation changes.
override
onMutationCreation(Mutation query) → void
Called when a mutation is created in the cache
override
onMutationError(Mutation mutation, StackTrace stackTrace) → void
Called if a mutation error happens.
override
onMutationReuse(Mutation query) → void
Called when a mutation is found in the cache and re-used
override
onQueryCreation(QueryBase query) → void
Called when an infinite query or query are created in the cache
override
onQueryDeletion(Object? key) → void
Called when an infinite query or query are deleted from the cache
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited