deleteCommitComment method
Delete a commit comment.
*id
: id of the comment to delete.
https://developer.github.com/v3/repos/comments/#delete-a-commit-comment
Implementation
Future<bool> deleteCommitComment(RepositorySlug slug,
{required int id}) async {
ArgumentError.checkNotNull(slug);
return github
.request(
'DELETE',
'/repos/${slug.fullName}/comments/$id',
statusCode: StatusCodes.NO_CONTENT,
)
.then((response) => response.statusCode == StatusCodes.NO_CONTENT);
}