EndpointView class
Constructors
- EndpointView({String? connector, String? locator, String? provider})
- Returns a new EndpointView instance.
Properties
- connector ↔ String?
-
Connector names a connected account from the org's connector registry, when the endpoint reaches its provider through one. Absent means the locator stands on its own; the pair below is always sufficient either way.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- locator ↔ String?
-
Locator addresses the thing INSIDE that provider, in the provider's own terms — an https clone URL for a hosted forge, a bare repository name for hanzo-git. It never carries a credential.
getter/setter pair
- provider ↔ String?
-
Provider is the concrete integration: "github", "gitlab" or "hanzo-git".
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) → EndpointView? -
Returns a new EndpointView instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< EndpointView> -
mapFromJson(
dynamic json) → Map< String, EndpointView> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< EndpointView> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.