GitHubUser class

Constructors

GitHubUser({required int id, required String login, required GitHubUserType type, String? avatarUrl, required String href})
GitHubUser.fromJson(Map<String, dynamic> json)
factory

Properties

avatarUrl String?
The url for a users's image
final
hashCode int
The hash code for this object.
no setterinherited
href String
The href for a users's page
final
id int
Generic UUID
final
login String
The handle for the user/org
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type GitHubUserType
Whether the user is an org, or a user
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited