GithubInstallationsOut class

Constructors

GithubInstallationsOut({String? installUrl, List<GithubInstallationView> installations = const []})
Returns a new GithubInstallationsOut instance.

Properties

hashCode → int
The hash code for this object.
no setteroverride
installations ↔ List<GithubInstallationView>
Installations is every account the caller may see: the ones its own org has bound, or — for a super admin — every account the App is installed on. Never null; [] when none.
getter/setter pair
installUrl ↔ String?
InstallURL is where to grant a new account, so a UI with an empty list has somewhere to send the reader instead of a dead end.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

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