findAll method
Retrieves all records from this table with support for:
- Pagination using
limitandoffset - Sorting by
orderByinascendingorder - Filtering using
filters
All parameters are optional.
Implementation
@override
Future<List<DocumentsModel>> findAll({
int? limit,
int? offset,
String? orderBy,
bool ascending = true,
Map<String, dynamic>? filters,
}) async {
return super.findAll(
limit: limit,
offset: offset,
orderBy: orderBy,
ascending: ascending,
filters: filters,
);
}