removeLabelForIssue method
Removes a label for an issue.
API docs: https://developer.github.com/v3/issues/labels/#remove-a-label-from-an-issue
Implementation
Future<bool> removeLabelForIssue(
RepositorySlug slug,
int issueNumber,
String label,
) async {
final response = await github.request(
'DELETE',
'/repos/${slug.fullName}/issues/$issueNumber/labels/$label',
);
return response.statusCode == StatusCodes.OK;
}