listCommitComments method
Returns a list of all commit comments in a repository.
https://developer.github.com/v3/repos/comments/#list-commit-comments-for-a-repository
Implementation
Stream<CommitComment> listCommitComments(RepositorySlug slug) {
ArgumentError.checkNotNull(slug);
return PaginationHelper(github)
.objects<Map<String, dynamic>, CommitComment>(
'GET',
'repos/${slug.fullName}/comments',
CommitComment.fromJson,
statusCode: StatusCodes.OK,
);
}