ConfigImages class
Constructors
- ConfigImages({int n = 2, String size = "1024x1024"})
-
ConfigImages.fromMap(Map<
String, dynamic> map) -
convert a Map<String, dynamic> into ImagesResponse
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- n → int
-
number of images will be delivery 1 to 10
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → String
-
Size of the images generated ex: 1024x1024
The size of the generated images. Must be one of 256x256, 512x512, or 1024x1024
final
Methods
-
copyWith(
{int? n, String? size}) → ConfigImages - Generate a new ConfigImages object from the original object
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - convert the response to a Map<String, dynamic>
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited