GitHubUser class Null safety

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.
read-onlyinherited
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.
read-onlyinherited
type GitHubUserType
Whether the user is an org, or a user
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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