listPublicEvents method
Lists public events.
API docs: https://developer.github.com/v3/activity/events/#list-public-events
Implementation
Stream<Event> listPublicEvents({int pages = 2}) {
return PaginationHelper(github).objects(
'GET', '/events', (dynamic i) => Event.fromJson(i),
pages: pages);
}