ChatCompletionResponse class
Constructors
-
ChatCompletionResponse({String? model, String? provider, required List<
ChatCompletionChoice> choices, Map<String, dynamic> ? usage, Map<String, dynamic> ? rawResponse, required DateTime timestamp}) -
const
Properties
-
choices
→ List<
ChatCompletionChoice> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- model → String?
-
final
- provider → String?
-
final
-
rawResponse
→ Map<
String, dynamic> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → DateTime
-
final
-
usage
→ Map<
String, dynamic> ? -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited