copyWithWrapped method
BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPost
copyWithWrapped({
- Wrapped<
String> ? text, - Wrapped<
String?> ? modelId, - Wrapped? languageCode,
- Wrapped? voiceSettings,
- Wrapped? pronunciationDictionaryLocators,
- Wrapped? seed,
- Wrapped? previousText,
- Wrapped? nextText,
- Wrapped? previousRequestIds,
- Wrapped? nextRequestIds,
- Wrapped<
bool?> ? usePvcAsIvc, - Wrapped<
BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization?> ? applyTextNormalization, - Wrapped<
bool?> ? applyLanguageTextNormalization,
Implementation
BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPost copyWithWrapped(
{Wrapped<String>? text,
Wrapped<String?>? modelId,
Wrapped<dynamic>? languageCode,
Wrapped<dynamic>? voiceSettings,
Wrapped<dynamic>? pronunciationDictionaryLocators,
Wrapped<dynamic>? seed,
Wrapped<dynamic>? previousText,
Wrapped<dynamic>? nextText,
Wrapped<dynamic>? previousRequestIds,
Wrapped<dynamic>? nextRequestIds,
Wrapped<bool?>? usePvcAsIvc,
Wrapped<
enums
.BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization?>?
applyTextNormalization,
Wrapped<bool?>? applyLanguageTextNormalization}) {
return BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPost(
text: (text != null ? text.value : this.text),
modelId: (modelId != null ? modelId.value : this.modelId),
languageCode:
(languageCode != null ? languageCode.value : this.languageCode),
voiceSettings:
(voiceSettings != null ? voiceSettings.value : this.voiceSettings),
pronunciationDictionaryLocators:
(pronunciationDictionaryLocators != null
? pronunciationDictionaryLocators.value
: this.pronunciationDictionaryLocators),
seed: (seed != null ? seed.value : this.seed),
previousText:
(previousText != null ? previousText.value : this.previousText),
nextText: (nextText != null ? nextText.value : this.nextText),
previousRequestIds: (previousRequestIds != null
? previousRequestIds.value
: this.previousRequestIds),
nextRequestIds: (nextRequestIds != null
? nextRequestIds.value
: this.nextRequestIds),
usePvcAsIvc:
(usePvcAsIvc != null ? usePvcAsIvc.value : this.usePvcAsIvc),
applyTextNormalization: (applyTextNormalization != null
? applyTextNormalization.value
: this.applyTextNormalization),
applyLanguageTextNormalization: (applyLanguageTextNormalization != null
? applyLanguageTextNormalization.value
: this.applyLanguageTextNormalization));
}