GithubReposOut class

Constructors

GithubReposOut({List<GithubRepoView> repos = const [], List<String> unread = const []})
Returns a new GithubReposOut instance.

Properties

hashCode → int
The hash code for this object.
no setteroverride
repos ↔ List<GithubRepoView>
Repos is every repo the installation grants. Never null; [] when none.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unread ↔ List<String>
Unread names the connected accounts this answer could NOT read, so a short list is distinguishable from a complete one. Absent when the answer is whole. The fan-out is per installation, and one account failing used to be dropped in silence: the response stayed 200 and simply carried fewer repositories, erroring only when EVERY account failed. Measured, twice in a row, minutes apart: 1475 repositories, then 1157 — a whole installation missing with nothing in the answer to say so. Anything driven off the list then under-covers and reports success, which is the failure this field ends.
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.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → GithubReposOut?
Returns a new GithubReposOut instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<GithubReposOut>
mapFromJson(dynamic json) → Map<String, GithubReposOut>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<GithubReposOut>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.