VoiceSelectionParams class

Description of which voice to use for a synthesis request.

Constructors

VoiceSelectionParams({CustomVoiceParams? customVoice, String? languageCode, String? name, String? ssmlGender})
VoiceSelectionParams.fromJson(Map json_)

Properties

customVoice CustomVoiceParams?
The configuration for a custom voice.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
languageCode String?
The language (and potentially also the region) of the voice expressed as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag, e.g. "en-US".
getter/setter pair
name String?
The name of the voice.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
ssmlGender String?
The preferred gender of the voice.
getter/setter pair

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