listForks method
Lists the forks of the specified repository.
API docs: https://developer.github.com/v3/repos/forks/#list-forks
Implementation
Stream<Repository> listForks(RepositorySlug slug) {
ArgumentError.checkNotNull(slug);
return PaginationHelper(github).objects<Map<String, dynamic>, Repository>(
'GET',
'/repos/${slug.fullName}/forks',
(i) => Repository.fromJson(i),
);
}