listComments method

Stream<GistComment> listComments(
  1. String gistId
)

Lists all comments for a gist.

API docs: https://developer.github.com/v3/gists/comments/#list-comments-on-a-gist

Implementation

Stream<GistComment> listComments(String gistId) {
  return PaginationHelper(
    github,
  ).objects('GET', '/gists/$gistId/comments', GistComment.fromJson);
}