Response class

What the caller may see, and the caller's own linked forge accounts.

Constructors

Response({required List<GitNamespace> namespaces, required List<RepoSummary> repos, required List<RightRecord> rights, required List<LinkedAccount> accounts, Ext? ext})
const
Response.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

accounts → List<LinkedAccount>
The forge accounts linked to the caller's own DID — never another member's — at most one per forge. With resource, only the account on that resource's forge. Empty when the caller has linked none.
final
ext → Ext?
final
hashCode → int
The hash code for this object.
no setterinherited
namespaces → List<GitNamespace>
Namespaces bound to this VTC that contain, or are contained by, resource.
final
repos → List<RepoSummary>
Repositories within resource. unmanaged repositories are included only for callers holding git.ns.admin over them.
final
rights → List<RightRecord>
Rights within resource the caller may see: always the caller's own; every right on a resource the caller owns or administers. reason is omitted except on resources the caller owns or administers.
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