OpenAIImageModel class final
- Annotations
Constructors
-
OpenAIImageModel.new({required DateTime created, required List<
OpenAIImageData> data}) -
This class is used to represent an OpenAI image.
const
-
OpenAIImageModel.fromMap(Map<
String, dynamic> json) -
This method is used to convert a Map<String, dynamic> object to a OpenAIImageModel object.
factory
Properties
- created → DateTime
-
The time the image was created.
final
-
data
→ List<
OpenAIImageData> -
The data of the image.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- haveData → bool
-
Weither the image have some data.
no setter
- 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 OpenAIImageModel other) → bool -
The equality operator.
override