OpenAIEditModel class final
This class is used to represent an OpenAI edit.
- Annotations
-
- @immutable
Constructors
-
OpenAIEditModel({required DateTime created, required List<
OpenAIEditModelChoice> choices, required OpenAIEditModelUsage? usage}) -
This class is used to represent an OpenAI edit.
const
-
OpenAIEditModel.fromMap(Map<
String, dynamic> json) -
This class is used to represent an OpenAI edit.
This method is used to convert a Map<String, dynamic> object to a OpenAIEditModel object.
factory
Properties
-
choices
→ List<
OpenAIEditModelChoice> -
The choices generated by the edit.
final
- created → DateTime
-
The date the edit was created.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- usage → OpenAIEditModelUsage?
-
The usage of the edit, if any.
final
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 ==(
covariant OpenAIEditModel other) → bool -
The equality operator.
override