OpenAIChatResponse class
OpenAI chat response implementation
- Implemented types
Constructors
-
OpenAIChatResponse.new(Map<
String, dynamic> _rawResponse, [String? _thinkingContent])
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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