Voice class
Description of the voice.
Constructors
-
Voice({List<
LanguageCode> ? additionalLanguageCodes, Gender? gender, VoiceId? id, LanguageCode? languageCode, String? languageName, String? name, List<Engine> ? supportedEngines}) -
Voice.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
additionalLanguageCodes
→ List<
LanguageCode> ? -
Additional codes for languages available for the specified voice in addition
to its default language.
final
- gender → Gender?
-
Gender of the voice.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → VoiceId?
-
Amazon Polly assigned voice ID. This is the ID that you specify when calling
the
SynthesizeSpeech
operation.final - languageCode → LanguageCode?
-
Language code of the voice.
final
- languageName → String?
-
Human readable name of the language in English.
final
- name → String?
-
Name of the voice (for example, Salli, Kendra, etc.). This provides a human
readable voice name that you might display in your application.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
supportedEngines
→ List<
Engine> ? -
Specifies which engines (
standard
orneural
) that are supported by a given voice.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