listUsers method

Stream<User> listUsers(
  1. String org
)

Lists all of the users in an organization

API docs: https://developer.github.com/v3/orgs/teams/#list-user-teams

Implementation

Stream<User> listUsers(String org) {
  return PaginationHelper(
    github,
  ).objects('GET', '/orgs/$org/members', User.fromJson);
}