AnthropicChatResponse class
Anthropic chat response implementation
- Implemented types
Constructors
-
AnthropicChatResponse.new(Map<
String, dynamic> _rawResponse)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
mcpToolResults
→ List<
AnthropicMCPToolResult> ? -
Get Anthropic MCP tool result blocks from the response
no setter
-
mcpToolUses
→ List<
AnthropicMCPToolUse> ? -
Get Anthropic MCP tool use blocks from the response
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String?
-
Get the text content of the response
no setteroverride
- thinking → String?
-
Get thinking/reasoning content (for providers that support it)
no setteroverride
-
toolCalls
→ List<
ToolCall> ? -
Get tool calls from the response
no setteroverride
- usage → UsageInfo?
-
Get usage information if available
no setteroverride
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