listTeams method
Lists the teams of the specified repository.
Implementation
Stream<Team> listTeams(RepositorySlug slug) {
ArgumentError.checkNotNull(slug);
return PaginationHelper(github).objects<Map<String, dynamic>, Team>(
'GET',
'/repos/${slug.fullName}/teams',
(i) => Team.fromJson(i),
);
}