listTeams method
- 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', Team.fromJson);
}