menu
chat_gpt_api package
documentation
app/model/data_model/image/image_request.dart
ImageRequest
toJson method
toJson method
dark_mode
light_mode
toJson
method
Map
<
String
,
dynamic
>
toJson
(
)
Implementation
Map<String, dynamic> toJson() => {"prompt": prompt, "n": n, "size": size};
chat_gpt_api package
documentation
app/model/data_model/image/image_request
ImageRequest
toJson method
ImageRequest class