listEmails method

Stream<UserEmail> listEmails()

Lists all email addresses for the currently authenticated user.

API docs: https://developer.github.com/v3/users/emails/#list-email-addresses-for-a-user

Implementation

Stream<UserEmail> listEmails() => PaginationHelper(
  github,
).objects('GET', '/user/emails', UserEmail.fromJson);