findUsers static method

Future<PagingResult<User>> findUsers(
  1. PagingQuery<UsersQuery> pagingQuery
)

Find users.

pagingQuery Search parameter.

Implementation

static Future<PagingResult<User>> findUsers(
    PagingQuery<UsersQuery> pagingQuery) {
  return NativeBridge.async(
          'Communities.getUsers', jsonEncode(pagingQuery.toJSON()))
      .then((result) {
    return new PagingResult.fromJSON(
        jsonDecode(result), (Map<String, dynamic> raw) => User.fromJSON(raw));
  });
}