ThinkingStreamingBlock class final

Accumulating thinking (reasoning) content block.

Inheritance

Constructors

ThinkingStreamingBlock({String? signature, bool redacted = false, String initialText = ''})
Creates a thinking block.

Properties

hashCode → int
The hash code for this object.
no setterinherited
redacted → bool
Whether the thinking content was redacted by safety filters (Anthropic redacted_thinking; the opaque payload sits in signature).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signature ↔ String?
The thinking signature, if any.
getter/setter pair
thinking → StringBuffer
The accumulated thinking text.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toContentBlock({bool finalize = false}) → ContentBlock
Converts to the immutable ContentBlock carried by event snapshots.
override
toString() → String
A string representation of this object.
inherited

Operators

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