all property

A static instance of QueryPredicate that matches any object.

You can use QueryPredicate.all with DataStoreSyncExpression like this:

// A sync expression matching any object of Post
var syncExpression = DataStoreSyncExpresion(
  Post.classType,
  () => QueryPredicate.all,
)

Implementation

static QueryPredicate get all => _queryPredicateAll;