ContentReplacementRecord class

Serializable record of one content-replacement decision. Written to the transcript for resume reconstruction.

Constructors

ContentReplacementRecord({required String kind, required String toolUseId, required String replacement})
const
ContentReplacementRecord.fromJson(Map<String, dynamic> json)
factory
ContentReplacementRecord.toolResult({required String toolUseId, required String replacement})
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
kind → String
Discriminated by kind so future replacement mechanisms can share the same transcript entry type.
final
replacement → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
toolUseId → String
final

Methods

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

Operators

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