searchUsersByIds method

Future<ClientResponse<SearchResponse, Errors>> searchUsersByIds(
  1. List<String> ids
)

Retrieves the users for the given ids. If any id is invalid, it is ignored.

@param {List

Implementation

Future<ClientResponse<SearchResponse, Errors>> searchUsersByIds(
    List<String> ids) {
  return _start<SearchResponse, Errors>()
      .withUri('/api/user/search')
      .withParameter('ids', ids)
      .withMethod('GET')
      .withResponseHandler(
          defaultResponseHandlerBuilder((d) => SearchResponse.fromJson(d)))
      .go();
}