listCurrentUserStarredGists method

Stream<Gist> listCurrentUserStarredGists()

Fetches the currently authenticated user's starred gists.

API docs: https://developer.github.com/v3/gists/#list-gists

Implementation

Stream<Gist> listCurrentUserStarredGists() {
  return PaginationHelper(github)
      .objects('GET', '/gists/starred', (dynamic i) => Gist.fromJson(i));
}