GitHubAccountDetails typedef

GitHubAccountDetails = ({String? email, Uri? image, String? name, String userIdentifier})

Details of the GitHub Account.

All nullable fields are not guaranteed to be available from GitHub's API, since the user may have a private email or limited profile information.

Implementation

typedef GitHubAccountDetails = ({
  /// GitHub's user identifier for this account.
  String userIdentifier,

  /// The email received from GitHub (may be null if private).
  String? email,

  /// The user's name from GitHub.
  String? name,

  /// The user's profile image URL.
  Uri? image,
});