Organization class Null safety

Model class for a GitHub organization.

Annotations

Constructors

Organization({String? login, int? id, String? htmlUrl, String? avatarUrl, String? name, String? company, String? blog, String? location, String? email, int? publicReposCount, int? publicGistsCount, int? followersCount, int? followingCount, DateTime? createdAt, DateTime? updatedAt})
Organization.fromJson(Map<String, dynamic> input)
factory

Properties

avatarUrl String?
Url to the Organization Avatar
@JsonKey(name: 'avatar_url'), final
blog String?
Organization Blog
final
company String?
Organization Company
final
createdAt DateTime?
Time this organization was created
@JsonKey(name: 'created_at'), final
email String?
Organization Email
final
followersCount int?
Number of Followers
@JsonKey(name: 'followers'), final
followingCount int?
Number of People this Organization is Following
@JsonKey(name: 'following'), final
hashCode int
The hash code for this object. [...]
read-only, inherited
htmlUrl String?
Url to Organization Profile
@JsonKey(name: 'html_url'), final
id int?
Organization ID
final
location String?
Organization Location
final
login String?
Organization Login
final
name String?
Organization Name
final
publicGistsCount int?
Number of Public Gists
@JsonKey(name: 'public_gists'), final
publicReposCount int?
Number of Public Repositories
@JsonKey(name: 'public_repos'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
updatedAt DateTime?
Time this organization was updated
@JsonKey(name: 'updated_at'), 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