deleteGist method

Future<bool> deleteGist(
  1. String id
)

Deletes the specified Gist.

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

Implementation

Future<bool> deleteGist(String id) {
  return github.request('DELETE', '/gists/$id').then((response) {
    return response.statusCode == 204;
  });
}