countAll method

  1. @override
Future<Either<Failure, int>> countAll()
override

Gets the amount of all documents within the collection.

See also: countWhere

Implementation

@override
Future<Either<Failure, int>> countAll() {
  return guard(_collection.countAll);
}