ConsentSubject class
The platform-agnostic identifier of WHAT is being consented to: one conversation, for one agent.
Constructors
- ConsentSubject({required String platform, required String conversationRef, required Kind kind, required String agent})
-
const
-
ConsentSubject.fromJson(Map<
String, dynamic> json) -
Read this payload from a decoded JSON object.
factory
Properties
- agent → String
-
VID (DID) of the AI agent the conversation would reach.
final
- conversationRef → String
-
The bridge's OPAQUE conversation handle (e.g. "sig-1a2b3c4d"). NEVER the raw
platform address — the VTA never learns the phone number / chat id.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → Kind
-
final
- platform → String
-
Messaging-platform tag, e.g. "signal", "whatsapp", "slack".
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