listLabels method
Lists all labels for a repository.
API docs: https://developer.github.com/v3/issues/labels/#list-all-labels-for-this-repository
Implementation
Stream<IssueLabel> listLabels(RepositorySlug slug) {
return PaginationHelper(github).objects(
'GET',
'/repos/${slug.fullName}/labels',
(dynamic i) => IssueLabel.fromJson(i));
}