getAll method
Performs repository.getAll()
.
Implementation
Future<List<T>> getAll(
{String? userId,
Where? where,
String? orderBy,
bool descending = true}) async {
final List<Model> raw = await repository.getAll(
userId: userId, where: where, orderBy: orderBy, descending: descending);
return [
for (final model in raw) fromModelFactory(model),
];
}