getUsers method
Searches for users matching the provided query
.
Search results are offset by the specified offset
, with each batch containing
limit
results.
Implementation
Stream<Iterable<UserSearchResult>> getUsers(
String query, {
int offset = defaultOffset,
int limit = defaultLimit
}) => search(
query,
searchFilter: SearchFilter.users,
offset: offset,
limit: limit
).map((b) => b.cast<UserSearchResult>());