RecordingTurn class

One recorded user/assistant turn for CLI replay workflows.

Constructors

RecordingTurn({required String userText, String? replyText, Map<String, Object?>? metadata})
Creates a recording turn entry.
RecordingTurn.fromJson(Map<String, Object?> json)
Decodes a recording turn from JSON.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
metadata Map<String, Object?>
Additional structured metadata.
final
replyText String?
Assistant reply text, when captured.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userText String
User input text.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Encodes this turn for persistence.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited