QuerySpec constructor

const QuerySpec({
  1. required List<QueryPredicate> predicates,
  2. String? orderByPath,
  3. CrdtType orderByType = const LwwRegister(),
  4. bool descending = false,
  5. int? limit,
  6. QueryCursor? after,
})

Creates a spec. Built by CollectionQuery; validation happens there.

Implementation

const QuerySpec({
  required this.predicates,
  this.orderByPath,
  this.orderByType = const LwwRegister(),
  this.descending = false,
  this.limit,
  this.after,
});