getTeamByName method
Gets the team specified by its teamName.
https://docs.github.com/en/rest/teams/teams?apiVersion=2022-11-28#get-a-team-by-name
Implementation
Future<Team> getTeamByName(String orgName, String teamName) {
return github.getJSON(
'orgs/$orgName/teams/$teamName',
convert: Team.fromJson,
statusCode: StatusCodes.OK,
);
}