SynthesizeSpeechResponse class Null safety

The message returned to the client by the SynthesizeSpeech method.

Constructors

SynthesizeSpeechResponse({String? audioContent})
SynthesizeSpeechResponse.fromJson(Map _json)

Properties

audioContent String?
The audio data bytes encoded as specified in the request, including the header for encodings that are wrapped in containers (e.g. MP3, OGG_OPUS). [...]
read / write
audioContentAsBytes List<int>
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

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