getUser method

Future<User> getUser(
  1. String? name
)

Fetches the user specified by name.

API docs: https://developer.github.com/v3/users/#get-a-single-user

Implementation

Future<User> getUser(String? name) =>
    github.getJSON('/users/$name', convert: (dynamic i) => User.fromJson(i));