listUsers method

Future<ListUsersResult> listUsers([
  1. num? maxResults,
  2. String? pageToken
])

Retrieves a list of users (single batch only) with a size of maxResults and starting from the offset as specified by pageToken.

This is used to retrieve all the users of a specified project in batches.

Implementation

Future<ListUsersResult> listUsers(
    [num? maxResults, String? pageToken]) async {
  var response = await _authRequestHandler.downloadAccount(
      maxResults as int?, pageToken);
  return ListUsersResult.fromJson(response);
}