isEmpty property

Future<bool> get isEmpty

Checks if the collection is empty.

Returns true if the collection has no documents, otherwise false.

Implementation

Future<bool> get isEmpty async => (await getCount()) == 0;