ImageGenerationResponse class

Represents an image generation response.

This is an experimental feature.

Constructors

ImageGenerationResponse({List<AIContent>? contents, Object? rawRepresentation, UsageDetails? usage})
Creates a new ImageGenerationResponse.

Properties

contents List<AIContent>
The generated image contents.
final
hashCode int
The hash code for this object.
no setterinherited
rawRepresentation Object?
The underlying implementation-specific object.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
usage UsageDetails?
Usage details.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited