listCommentsByPullRequest method
Lists all comments on the specified pull request.
API docs: https://developer.github.com/v3/pulls/comments/#list-comments-on-a-pull-request
Implementation
Stream<PullRequestComment> listCommentsByPullRequest(
RepositorySlug slug, int number) {
return PaginationHelper(github).objects(
'GET',
'/repos/${slug.fullName}/pulls/$number/comments',
(dynamic i) => PullRequestComment.fromJson(i));
}