isEmptyAsync method

Future<bool> isEmptyAsync()

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

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

Implementation

Future<bool> isEmptyAsync() => _withQueryAsync((q) => q.isEmptyAsync());