listLabels method

Stream<IssueLabel> listLabels(
  1. RepositorySlug slug
)

Implementation

Stream<IssueLabel> listLabels(RepositorySlug slug) {
  return PaginationHelper(github).objects(
      'GET',
      '/repos/${slug.fullName}/labels',
      (dynamic i) => IssueLabel.fromJson(i));
}