GithubForkOut class
Constructors
- GithubForkOut({String? cloneUrl, String? defaultBranch, bool? existing, String? fullName, String? htmlUrl})
- Returns a new GithubForkOut instance.
Properties
- cloneUrl ↔ String?
-
CloneURL is the fork's https git remote. GitHub populates a new fork in the background, so a clone issued the moment this answers can still find it empty.
getter/setter pair
- defaultBranch ↔ String?
-
DefaultBranch is the branch the fork checks out, inherited from upstream.
getter/setter pair
- existing ↔ bool?
-
Existing reports that the fork was already there. GitHub answers 202 either way, so without this a caller cannot tell "made you one" from "you had one".
getter/setter pair
- fullName ↔ String?
-
FullName is the fork's "owner/repo". The owner is the account it landed in — the request's org, or the installation's own account when none was named.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- htmlUrl ↔ String?
-
HTMLURL is the fork's page on github.com.
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) → GithubForkOut? -
Returns a new GithubForkOut instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< GithubForkOut> -
mapFromJson(
dynamic json) → Map< String, GithubForkOut> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< GithubForkOut> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.