ImageGenerationResponse constructor
ImageGenerationResponse({
- List<
AIContent> ? contents, - Object? rawRepresentation,
- UsageDetails? usage,
Creates a new ImageGenerationResponse.
Implementation
ImageGenerationResponse({
List<AIContent>? contents,
this.rawRepresentation,
this.usage,
}) : contents = contents ?? [];