listNotifications method
Lists all notifications for the current user.
API docs: https://developer.github.com/v3/activity/notifications/#list-your-notifications
Implementation
Stream<Notification> listNotifications(
{bool all = false, bool participating = false}) {
return PaginationHelper(github).objects(
'GET', '/notifications', (dynamic i) => Notification.fromJson(i),
params: {'all': all, 'participating': participating});
}