OpenAIImageVariationModel class final

Annotations
  • @immutable

Constructors

OpenAIImageVariationModel({required DateTime created, required List<OpenAIVariationData> data})
This class is used to represent an OpenAI image variation.
const
OpenAIImageVariationModel.fromMap(Map<String, dynamic> json)
This method is used to convert a Map<String, dynamic> object to a OpenAIImageVariationModel object.
factory

Properties

created DateTime
The time the image was created.
final
data List<OpenAIVariationData>
The data of the image.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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 OpenAIImageVariationModel other) bool
The equality operator.
override