voice property

String? voice
getter/setter pair

The name of the voice.

If not set, the service will choose a voice based on the other parameters such as language_code. For the list of available voices, please refer to Supported voices and languages from Cloud Text-to-Speech.

Optional.

Implementation

core.String? voice;