count method

Future<int> count({
  1. String? userId,
  2. Where? where,
})

Performs repository.count().

Implementation

Future<int> count({String? userId, Where? where}) =>
    repository.count(userId: userId, where: where);