GithubImportIn class

Constructors

GithubImportIn({bool? all, List<String> repos = const []})
Returns a new GithubImportIn instance.

Properties

all ↔ bool?
All imports every repository the installation grants, instead of naming them. Archived and disabled repositories are skipped either way — they cannot be fetched.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
repos ↔ List<String>
Repos names the repositories to import, either owner-qualified ("hanzo-apps/ai") or as a bare name ("ai"); a trailing ".git" is stripped. A bare name that matches more than one granted repository is an error rather than a guess, because one Hanzo org may hold several GitHub installations and a name is only unique within an owner. Ignored when all is true.
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) → GithubImportIn?
Returns a new GithubImportIn instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<GithubImportIn>
mapFromJson(dynamic json) → Map<String, GithubImportIn>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<GithubImportIn>>

Constants

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