KletsoOutbound class sealed
Something the user sends: text, a structured value, or an action on a
surface. The client assigns the clientId and turns it into a frame.
- Implementers
- Annotations
-
- @immutable
Constructors
- KletsoOutbound.action({required String surfaceId, required String componentId, required String actionId, Object? value, String? label})
-
A non-local action on a surface component.
constfactory
- KletsoOutbound.confirm({required String surfaceId, required String componentId, required String actionId, required String toolCallId, required bool approve})
-
An answer to a
confirmblock.factory - KletsoOutbound.form({required String surfaceId, required String componentId, required String actionId, required String formId, required JsonMap values})
-
A form submission:
submitaction carrying{formId, values}.factory - KletsoOutbound.text(String text)
-
A plain text message.
constfactory
- KletsoOutbound.value(Object? value, {String? label})
-
A structured value posted as a user turn (quick replies), with an
optional transcript
label.constfactory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toFrame(
String clientId) → KletsoClientFrame -
The wire frame for this outbound with
clientId. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited