updateComment method
Update an issue comment.
API docs: https://docs.github.com/en/rest/reference/issues#update-an-issue-comment
Implementation
Future<IssueComment> updateComment(RepositorySlug slug, int id, String body) {
final it = GitHubJson.encode({'body': body});
return github.postJSON(
'/repos/${slug.fullName}/issues/comments/$id',
body: it,
convert: (dynamic i) => IssueComment.fromJson(i),
statusCode: StatusCodes.OK,
);
}