isEmptySync method

bool isEmptySync()

Returns true if there are no objects that match this query.

This operation is faster than using count() == 0.

Implementation

bool isEmptySync() => build().isEmptySync();