getGitignoreTemplate method
Gets a .gitignore template by name
.
All template names can be fetched using listGitignoreTemplates.
API docs: https://developer.github.com/v3/gitignore/#get-a-single-template
Implementation
Future<GitignoreTemplate> getGitignoreTemplate(String name) =>
github.getJSON('/gitignore/templates/$name',
convert: (dynamic i) => GitignoreTemplate.fromJson(i));