languageCode property
Optional language code for a synthesis task. This is only necessary if using a bilingual voice, such as Aditi, which can be used for either Indian English (en-IN) or Hindi (hi-IN).
If a bilingual voice is used and no language code is specified, Amazon Polly
will use the default language of the bilingual voice. The default language
for any voice is the one returned by the DescribeVoices
operation for the LanguageCode
parameter. For example, if no
language code is specified, Aditi will use Indian English rather than Hindi.
Implementation
final LanguageCode? languageCode;