listRepositoryNotifications method
Stream<Notification>
listRepositoryNotifications(
- RepositorySlug repository, {
- bool all = false,
- bool participating = false,
Lists all notifications for a given repository.
API docs: https://developer.github.com/v3/activity/notifications/#list-your-notifications-in-a-repository
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},
);
}