OpenAIStreamChatCompletionChoiceDeltaModel class final

This contains the role and content of the choice of the chat response.

Constructors

OpenAIStreamChatCompletionChoiceDeltaModel({required String? role, required String? content})
This contains the role and content of the choice of the chat response.
const
OpenAIStreamChatCompletionChoiceDeltaModel.fromMap(Map<String, dynamic> json)
This contains the role and content of the choice of the chat response.
factory

Properties

content String?
The content of the choice.
final
hashCode int
The hash code for this object.
no setteroverride
role String?
The role of the choice.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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