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

hashCode int
The hash code for this object.
no setteroverride
index int
The index of the choice.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
The text of the choice.
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 OpenAIEditModelChoice other) bool
The equality operator.
override