SpeechMetadata class

Extra metadata associated with a content part for speech synthesis.

Annotations
  • @JsonSerializable.new(includeIfNull: false, fieldRename: FieldRename.snake)

Constructors

SpeechMetadata({String? speaker, String? style})
SpeechMetadata.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
speaker → String?
The speaker for this part, which must match a speaker name in MultiSpeakerVoiceConfig.speaker_voice_configs.
final
style → String?
The style instruction for how the voice should be synthesized (e.g. "excited, fast-paced", "whispering").
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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