filterUsers abstract method

Future<PaginatedListUser?> filterUsers(
  1. Filter<User> filter, {
  2. String? nextUserId,
  3. int? limit,
})

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:

  • Filter filter (required): The Filter object that describes which condition(s) the elements whose the ids should be returned must fulfill

  • String nextUserId: The id of the first User in the next page

  • int limit: The number of users to return in the queried page

Implementation

Future<PaginatedListUser?> filterUsers(Filter<User> filter, { String? nextUserId, int? limit, });