SanityQueryResponse class final

A class that represents a Sanity query response.

Constructors

SanityQueryResponse({required dynamic result, required PerformanceInfo info, List<String> syncTags = const []})
Creates a new Sanity query response with the given result and performance information.

Properties

hashCode → int
The hash code for this object.
no setterinherited
info → PerformanceInfo
The performance information of the query.
final
result → dynamic
The result of the query, which can be a null, object or array.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
syncTags → List<String>
Sync Tags of the query, which will be used in case of a Live Fetch Query
final

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