Team class Null safety

Model class for a GitHub team.

Annotations

Constructors

Team({String? name, int? id, String? permission, int? membersCount, int? reposCount, Organization? organization})
Team.fromJson(Map<String, dynamic> input)
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
id int?
Team ID
final
membersCount int?
Number of Members
@JsonKey(name: 'members_count'), final
name String?
Team Name
final
organization Organization?
Organization
final
permission String?
Team Permission
final
reposCount int?
Number of Repositories
@JsonKey(name: 'repos_count'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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