getAll abstract method

Future<List<Model>> getAll({
  1. String? userId,
  2. Where? where,
  3. String? orderBy,
  4. bool descending = true,
})

Returns all the entries in the repository. If userId is not null, the results will have the same user id. If where is not null, the results will be compliant to the where clause.

Implementation

Future<List<Model>> getAll(
    {String? userId, Where? where, String? orderBy, bool descending = true});