GithubUser class final

GithubUser implements all the properties of the Github Users API

Annotations
  • @autoequal
  • @CopyWith()
  • @JsonSerializable()

Constructors

GithubUser({required String login, required int id, required String nodeId, required Uri avatarUrl, required String gravatarId, required Uri url, required Uri htmlUrl, required Uri reposUrl, required String type, required bool siteAdmin})
const
GithubUser.fromJson(Map<String, dynamic> json)
factory

Properties

avatarUrl Uri
final
gravatarId String
final
hashCode int
The hash code for this object.
no setterinherited
htmlUrl Uri
final
id int
final
login String
final
nodeId String
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
reposUrl Uri
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
siteAdmin bool
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
type String
final
url Uri
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