OpenAIStreamChatCompletionChoiceDeltaModel class final
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
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