listOrganizationRepositories method
List repositories for the specified org
.
API docs: https://developer.github.com/v3/repos/#list-organization-repositories
Implementation
Stream<Repository> listOrganizationRepositories(String org,
{String type = 'all'}) {
ArgumentError.checkNotNull(org);
final params = <String, dynamic>{'type': type};
return PaginationHelper(github).objects<Map<String, dynamic>, Repository>(
'GET',
'/orgs/$org/repos',
Repository.fromJson,
params: params,
);
}