QueryFilter class final
Selects query cache entries for bulk operations.
Constructors
-
QueryFilter({QueryKey<
Object?> ? key, bool exact = false, QueryActivity type = QueryActivity.all, bool? stale, QueryFetchStatus? fetchStatus, bool predicate(Query query)?}) -
Creates criteria for matching cached queries.
const
Properties
- exact → bool
-
Whether key must match the complete query key.
final
- fetchStatus → QueryFetchStatus?
-
Optional fetch-state requirement.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
key
→ QueryKey<
Object?> ? -
The exact key or key prefix to match.
final
- predicate → bool Function(Query query)?
-
Additional query predicate.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stale → bool?
-
Optional stale-state requirement.
final
- type → QueryActivity
-
Which observer activity state to match.
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