isGistStarred method
Checks if the specified Gist is starred.
API docs: https://developer.github.com/v3/gists/#check-if-a-gist-is-starred
Implementation
Future<bool> isGistStarred(String id) {
return github.request('GET', '/gists/$id/star').then((response) {
return response.statusCode == 204;
});
}