listRepositoryNotifications method

Stream<Notification> listRepositoryNotifications(
  1. RepositorySlug repository, {
  2. bool all = false,
  3. bool participating = false,
})

Implementation

Stream<Notification> listRepositoryNotifications(
  RepositorySlug repository, {
  bool all = false,
  bool participating = false,
}) {
  return PaginationHelper(github).objects(
    'GET',
    '/repos/${repository.fullName}/notifications',
    Notification.fromJson,
    params: {'all': all, 'participating': participating},
  );
}