ServiceInstance class

ServiceInstance

Constructors

ServiceInstance({required String instanceId, required String did, String? label, String? publicUrl, List<String>? servedDomains, String? lastSeen, Ext? ext})
const
ServiceInstance.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

did → String
VID identifying the registered service.
final
ext → Ext?
final
hashCode → int
The hash code for this object.
no setterinherited
instanceId → String
Stable identifier the control plane uses for this instance. SHOULD be derived from the instance's DID (e.g. did:web:host.example → did_web_host_example) so it survives restarts.
final
label → String?
final
lastSeen → String?
final
publicUrl → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
servedDomains → List<String>?
Hosting domains this instance currently serves. Updated by domain/assign / domain/unassign ack flow.
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() → String
A string representation of this object.
inherited

Operators

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