TspMessageEnvelope class

Trust Spanning Protocol message (https://trustoverip.github.io/tswg-tsp-specification/). Reserved variant; no OpenVTC component reads or emits this today. Listed in the union so implementations can declare intent to use TSP in discovery and so consumers reject tspMessage envelopes explicitly (envelopeUnsupported) until they're wired up — rather than silently failing in DIDComm parsing.

Constructors

TspMessageEnvelope({required Object? envelope, required String message})
const
TspMessageEnvelope.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

envelope → Object?
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
Base64url-encoded TSP message bytes. Format reference: https://trustoverip.github.io/tswg-tsp-specification/#message-format
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