listTeams method

Stream<Team> listTeams(
  1. String orgName
)

Lists all of the teams for the specified organization.

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

Implementation

Stream<Team> listTeams(String orgName) {
  return PaginationHelper(github).objects(
      'GET', '/orgs/$orgName/teams', (dynamic i) => Team.fromJson(i));
}