filterUsers method
Load users from the database by filtering them using the provided Filter.
Filters are complex selectors that are built by combining basic building blocks. Examples of filters available for Users are AllUsersFilter and UsersByIdsFilter. This method returns a paginated list of users (with a cursor that lets you query the following items).
Parameters:
Implementation
@override
Future<PaginatedListUser?> filterUsers(
Filter<User> filter, {
String? nextUserId,
int? limit,
}) async {
return (await api.baseUserApi
.filterUsersBy(base_api.FilterChain<base_api.UserDto>(filter.toAbstractFilterDto()), startDocumentId: nextUserId, limit: limit))
?.toPaginatedListUser();
}