isEmpty method

bool isEmpty()

Yields true if there are no objects that match the query.

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

Implementation

bool isEmpty() => _withQuery((q) => q.isEmpty());