ProjectsRepo class
Constructors
- ProjectsRepo({String? branch, String? provider, String? url})
- Returns a new ProjectsRepo instance.
Properties
- branch ↔ String?
-
Branch is the ref a push has to touch for this project to rebuild. Pushes to any other branch are ignored.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- provider ↔ String?
-
Provider is the forge the URL was recognised as — it decides which webhook and which credential reach the repository, and is DERIVED from the URL rather than chosen by the caller.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url ↔ String?
-
URL is the clone address of the repository this project builds from.
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) → ProjectsRepo? -
Returns a new ProjectsRepo instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< ProjectsRepo> -
mapFromJson(
dynamic json) → Map< String, ProjectsRepo> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< ProjectsRepo> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.