BundleRunResponse class

A comprehensive response object returned by a standard generation run.

This model bundles the primary AI output (response) with supplementary information (metaData), providing a complete snapshot of the generation result in non-streaming contexts.

Constructors

BundleRunResponse({RichMessage? response, Map<String, dynamic>? metaData})
BundleRunResponse.fromJson(Map<String, dynamic> json)
Creates a BundleRunResponse instance from a JSON map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
metaData Map<String, dynamic>?
A flexible collection of supplementary information provided by the API.
final
response RichMessage?
The core AI-generated content, represented as a RichMessage.
final
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
toJson() Map<String, dynamic>
Converts the BundleRunResponse instance into a JSON-compatible map.
toString() String
A string representation of this object.
inherited

Operators

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