PayloadInResponseTo class
Identifies the Trust Task document this next step answers. SHOULD be populated, for the reason SPEC §8.2 gives for the identical member on an error response: threadId correlates the exchange only for a party that already saw the request, so a retained next step otherwise names neither the task it interrupted nor the instance.
Constructors
- PayloadInResponseTo({required String typeUri, String? id})
-
const
-
PayloadInResponseTo.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 specific document being answered (SPEC §4.3). Globally unique and
never reused, so it names one instance where threadId names an exchange.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- typeUri → String
-
The Type URI of the document being answered, including any fragment it carried.
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