CurrentUser class Null safety

The Currently Authenticated User

Inheritance
Annotations

Constructors

CurrentUser()
CurrentUser.fromJson(Map<String, dynamic> input)
factory

Properties

avatarUrl String?
Avatar URL
read / write, inherited
bio String?
The User's Biography
read / write, inherited
blog String?
Link to User's Blog
read / write, inherited
company String?
Name of User's Company
read / write, inherited
createdAt DateTime?
The time this User was created.
read / write, inherited
diskUsage int?
The User's Disk Usage
@JsonKey(name: 'disk_usage'), read / write
email String?
User's Email
read / write, inherited
followersCount int?
Number of followers that this user has
@JsonKey(name: 'followers'), read / write, inherited
followingCount int?
Number of Users that this user follows
@JsonKey(name: 'following'), read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
hirable bool?
If this user is hirable
read / write, inherited
htmlUrl String?
Url to this user's profile.
read / write, inherited
id int?
User ID
read / write, inherited
json Map?
@JsonKey(ignore: true), read / write, inherited
location String?
User's Location
read / write, inherited
login String?
User's Username
read / write, inherited
name String?
User's Name
read / write, inherited
ownedPrivateReposCount int?
Number of Owned Private Repositories that the user owns
@JsonKey(name: 'owned_private_repos'), read / write
plan UserPlan?
The User's GitHub Plan
read / write
privateReposCount int?
Number of Private Repositories
@JsonKey(name: 'total_private_repos'), read / write
publicGistsCount int?
Number of public gists that this user has
@JsonKey(name: 'public_gists'), read / write, inherited
publicReposCount int?
Number of public repositories that this user has
@JsonKey(name: 'public_repos'), read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
siteAdmin bool?
If the user is a site administrator
read / write, inherited
twitterUsername String?
The username of the twitter account (without leading @)
read / write, inherited
updatedAt DateTime?
Last time this User was updated.
read / write, inherited

Methods

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

Operators

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