GitNamespace class
The VTC's binding to one owner on one forge.
Constructors
- GitNamespace({required NamespaceId id, required ForgeHost forge, required Segment owner, GitNamespaceKind? kind, required GitNamespaceMode mode, required GitNamespaceState state})
-
const
-
GitNamespace.fromJson(Map<
String, dynamic> json) -
Read this payload from a decoded JSON object.
factory
Properties
- forge → ForgeHost
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → ForgeHost
-
final
- kind → GitNamespaceKind?
-
Whether the owner is an organisation or a personal account, as the forge reports
it. Present once known: a bridge-mode namespace learns it when binding completes,
and a manual-mode namespace MAY never learn it.
final
- mode → GitNamespaceMode
-
bridge— a bridge service acts on the forge for this namespace (creates repositories, projects roles, reports drift).manual— no automation; people with forge access carry out the steps the VTC names, and the VTC governs the rights alone.final - owner → ForgeHost
-
The organisation or user on the forge, lowercased.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → GitNamespaceState
-
pending— binding has started and the forge-side proof has not arrived yet.bound— the VTC governs rights under this namespace.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize to a JSON-encodable map, omitting absent members.
-
toString(
) → ForgeHost -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited