createComment method

Future<GistComment> createComment(
  1. String gistId,
  2. CreateGistComment request
)

Implementation

Future<GistComment> createComment(String gistId, CreateGistComment request) {
  return github.postJSON('/gists/$gistId/comments',
      body: GitHubJson.encode(request), convert: GistComment.fromJson);
}