XAIChatResponse class
xAI chat response implementation
- Implemented types
Constructors
- 
          XAIChatResponse(Map<String, dynamic> _rawResponse)
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