Payload class

A VTC administrator binds the VTC to one owner on one forge, so that the VTC governs who may create, own, maintain and commit to repositories under it. In bridge mode the response says where to send the forge owner to prove control; the namespace stays pending until that proof arrives.

Constructors

Payload({required ForgeHost forge, required Segment owner, required PayloadMode mode, Ext? ext})
const
Payload.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

ext → Ext?
final
forge → String
The forge's host, lowercased.
final
hashCode → int
The hash code for this object.
no setterinherited
mode → PayloadMode
bridge — a bridge service serving this forge proves control and then acts on the forge. manual — no automation; the binding admin declares the namespace and people with forge access carry out the forge-side steps.
final
owner → String
The organisation or user on that forge, lowercased.
final
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>
Serialize to a JSON-encodable map, omitting absent members.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited