TextReasoningContent class

Represents reasoning or "thinking" content from an AI model.

This content type is distinct from TextContent and represents the model's internal reasoning process, which may be displayed differently or handled separately from regular output text.

Inheritance

Constructors

TextReasoningContent(String text, {Uint8List? protectedData, Object? rawRepresentation, AdditionalPropertiesDictionary? additionalProperties})
Creates a new TextReasoningContent.

Properties

additionalProperties AdditionalPropertiesDictionary?
Additional properties.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
protectedData Uint8List?
Opaque data for provider roundtripping.
final
rawRepresentation Object?
The underlying implementation-specific representation of this content.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
The reasoning text.
final

Methods

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

Operators

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