QueryPredicate constructor

const QueryPredicate({
  1. required String path,
  2. required QueryOp op,
  3. required Object? value,
  4. required CrdtType type,
})

Creates a predicate. Validation happens in the query builder; an engine may assume the combination of op and type is legal.

Implementation

const QueryPredicate({
  required this.path,
  required this.op,
  required this.value,
  required this.type,
});