EndpointReq class
Constructors
- EndpointReq({String? connector, String? locator, String? provider})
- Returns a new EndpointReq instance.
Properties
- connector ↔ String?
-
Connector names the stored credential to reach this endpoint with.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- locator ↔ String?
-
Locator addresses the resource. For a git source it is the https clone URL on the provider's own host, with no embedded credentials; for a native target it is the repository name.
getter/setter pair
- provider ↔ String?
-
Provider is the platform: github or gitlab for a source; a target defaults to the native Hanzo Git plane.
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) → EndpointReq? -
Returns a new EndpointReq instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< EndpointReq> -
mapFromJson(
dynamic json) → Map< String, EndpointReq> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< EndpointReq> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.