createComment method
Creates a new comment on the specified issue
API docs: https://developer.github.com/v3/issues/comments/#create-a-comment
Implementation
Future<IssueComment> createComment(
RepositorySlug slug, int issueNumber, String body) {
final it = GitHubJson.encode({'body': body});
return github.postJSON(
'/repos/${slug.fullName}/issues/$issueNumber/comments',
body: it,
convert: (dynamic i) => IssueComment.fromJson(i),
statusCode: StatusCodes.CREATED,
);
}