getLabel method
Fetches a single label.
API docs: https://developer.github.com/v3/issues/labels/#get-a-single-label
Implementation
Future<IssueLabel> getLabel(RepositorySlug slug, String name) =>
github.getJSON(
'/repos/${slug.fullName}/labels/$name',
convert: IssueLabel.fromJson,
statusCode: StatusCodes.OK,
);