GitSource class
Constructors
Properties
- branch ↔ String?
-
Branch is the branch a push-to-deploy build tracks,
mainwhen the create named none — a push to any other branch, and every tag push, builds nothing here. A deploy may name a commit instead, for that deploy alone.getter/setter pair - hashCode → int
-
The hash code for this object.
no setteroverride
- provider ↔ String?
-
Provider is derived from the URL — github, gitlab, bitbucket, or
gitfor anything else. It is a label for display; no behaviour keys on it.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url ↔ String?
-
URL is the clone URL a git app builds from, stored as sent once the build path's allowlist accepted it (validateRepoURL). It is also what a landed push is MATCHED against, so a push to any other repo never builds this app.
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) → GitSource? -
Returns a new GitSource instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< GitSource> -
mapFromJson(
dynamic json) → Map< String, GitSource> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< GitSource> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.