ResponseChatEvent class
Is the type received by the chat stream 
It contains the response from the chat and the resource usage  
Example:
chat.stream.listen((event) {
  if (event is ResponseChatEvent) {
    print(event.response.choices.first.message);
    print(event.usage.totalTokens);
  }
}
- Inheritance
 - Available extensions
 
Constructors
- ResponseChatEvent(GroqResponse response, GroqUsage usage)
 
Properties
- hashCode → int
 - 
  The hash code for this object.
  no setteroverride
 - response → GroqResponse
 - 
  
  final
 - runtimeType → Type
 - 
  A representation of the runtime type of the object.
  no setterinherited
 - usage → GroqUsage
 - 
  
  final
 
Methods
- 
  noSuchMethod(
Invocation invocation) → dynamic  - 
  Invoked when a nonexistent method or property is accessed.
  inherited
 - 
  toJson(
) → Map< String, dynamic>  - 
      
Available on ChatEvent, provided by the ChatEventExtension extension
 - 
  toString(
) → String  - 
  A string representation of this object.
  override
 - 
  when<
T> ({required T request(RequestChatEvent), required T response(ResponseChatEvent)}) → T  - 
  
  override
 
Operators
- 
  operator ==(
Object other) → bool  - 
  The equality operator.
  override