listCurrentUserGists method
Fetches the gists for the currently authenticated user. If the user is not authenticated, this returns all public gists.
Implementation
Stream<Gist> listCurrentUserGists() {
return PaginationHelper(github)
.objects('GET', '/gists', (dynamic i) => Gist.fromJson(i));
}