MirrorReq class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- name ↔ String?
-
Name is the local repo to mirror into, from the :name path segment. It is CREATED on first use.
getter/setter pair
- project ↔ String?
-
Project is the sub-scope to land the repo in; empty uses the caller's own, exactly as a create would.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source_ ↔ String?
-
Source is the http(s) git URL to fetch from. The host is SSRF-guarded, and a credential is sent only if we hold one NAMED FOR that host — so a tenant-supplied URL to anywhere else fetches anonymously.
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) → MirrorReq? -
Returns a new MirrorReq instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< MirrorReq> -
mapFromJson(
dynamic json) → Map< String, MirrorReq> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< MirrorReq> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.