listWatchers method

Stream<User> listWatchers(
  1. RepositorySlug slug
)

Lists the watchers of the specified repository.

API docs: https://developer.github.com/v3/activity/watching/#list-watchers

Implementation

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