removeTeamRepository method
Removes a repository from being managed by the specified team.
API docs: https://developer.github.com/v3/orgs/teams/#remove-team-repo
Implementation
Future<bool> removeTeamRepository(int teamId, RepositorySlug slug) {
return github
.request('DELETE', '/teams/$teamId/repos/${slug.fullName}')
.then((response) {
return response.statusCode == 204;
});
}