GoogleTTSResponse class

Google TTS response

Constructors

GoogleTTSResponse.new({required List<int> audioData, String? contentType, UsageInfo? usage, String? model, Map<String, dynamic>? metadata})
const
GoogleTTSResponse.fromApiResponse(Map<String, dynamic> response)
Create response from Google API response
factory

Properties

audioData List<int>
Generated audio data as bytes
final
contentType String?
Content type (e.g., 'audio/pcm')
final
hashCode int
The hash code for this object.
no setterinherited
metadata Map<String, dynamic>?
Additional metadata from the response
final
model String?
Model used for generation
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
usage UsageInfo?
Usage information if available
final

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