Contributor class

The response from listing contributors on a repo.

https://developer.github.com/v3/repos/#response-if-repository-contains-content

Annotations
  • @JsonSerializable()

Constructors

Contributor({int? id, String? login, String? avatarUrl, String? htmlUrl, String? type, bool? siteAdmin, int? contributions})
Contributor.fromJson(Map<String, dynamic> input)
factory

Properties

avatarUrl String?
Avatar URL
getter/setter pair
contributions int?
Contributions count
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
htmlUrl String?
Url to this user's profile.
getter/setter pair
id int?
User ID
getter/setter pair
login String?
User's Username
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
siteAdmin bool?
If the user is a site administrator
getter/setter pair
type String?
getter/setter pair

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