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', Event.fromJson, pages: pages);
}