getGist method

Future<Gist> getGist(
  1. String id
)

Fetches a Gist by the specified id.

API docs: https://developer.github.com/v3/gists/#get-a-single-gist

Implementation

Future<Gist> getGist(String id) => github.getJSON('/gists/$id',
    statusCode: StatusCodes.OK, convert: (dynamic i) => Gist.fromJson(i));