PayloadTarget class

The specific Trust Task document this operation applies to. Per SPEC.md §11.2, threadId, parentThreadId and ceremony membership MUST NOT identify the target on their own: more than one document can occur in a single exchange or enactment.

Constructors

PayloadTarget({required String id, String? typeUri})
const
PayloadTarget.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → String
The id of the target Trust Task document. The sole identifying member.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
typeUri → String?
The target document's type, including any #request fragment. RECOMMENDED. A consumer that holds the named id under a different specification can then detect the mismatch rather than acting on a coincidence of identifiers.
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