Query<T> class

Constructors

Query.new(QueryKey key)

Properties

hashCode int
The hash code for this object.
no setterinherited
key QueryKey
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state QueryState<T>
getter/setter pair
stream Stream<QueryState<T>>
no setter

Methods

cancel() Future
close() Future
fetch({required QueryFetcher<T> fetcher, Duration staleDuration = Duration.zero}) Future
invalidate() → void
isStale(Duration duration) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setData(T data, [DateTime? updatedAt]) → void
setInitialData(T data, [DateTime? updatedAt]) → void
toString() String
A string representation of this object.
inherited

Operators

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