OpenAIEditModelChoice class final
This class is used to represent a choice generated by an OpenAI edit.
- Annotations
-
- @immutable
Constructors
- OpenAIEditModelChoice({required String text, required int index})
-
This class is used to represent a choice generated by an OpenAI edit.
const
-
OpenAIEditModelChoice.fromMap(Map<
String, dynamic> json) -
This class is used to represent a choice generated by an OpenAI edit.
This method is used to convert a Map<String, dynamic> object to a OpenAIEditModelChoice object.
factory
Properties
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 OpenAIEditModelChoice other) → bool -
The equality operator.
override