QueryFilter constructor

const QueryFilter({
  1. QueryKey<Object?>? key,
  2. bool exact = false,
  3. QueryActivity type = QueryActivity.all,
  4. bool? stale,
  5. QueryFetchStatus? fetchStatus,
  6. bool predicate(
    1. Query query
    )?,
})

Creates criteria for matching cached queries.

Implementation

const QueryFilter({
  this.key,
  this.exact = false,
  this.type = QueryActivity.all,
  this.stale,
  this.fetchStatus,
  this.predicate,
});