copyWith method
BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPost
copyWith({
- String? text,
- String? modelId,
- dynamic languageCode,
- dynamic voiceSettings,
- dynamic pronunciationDictionaryLocators,
- dynamic seed,
- dynamic previousText,
- dynamic nextText,
- dynamic previousRequestIds,
- dynamic nextRequestIds,
- bool? usePvcAsIvc,
- BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization? applyTextNormalization,
- bool? applyLanguageTextNormalization,
Implementation
BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPost copyWith(
{String? text,
String? modelId,
dynamic languageCode,
dynamic voiceSettings,
dynamic pronunciationDictionaryLocators,
dynamic seed,
dynamic previousText,
dynamic nextText,
dynamic previousRequestIds,
dynamic nextRequestIds,
bool? usePvcAsIvc,
enums
.BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization?
applyTextNormalization,
bool? applyLanguageTextNormalization}) {
return BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPost(
text: text ?? this.text,
modelId: modelId ?? this.modelId,
languageCode: languageCode ?? this.languageCode,
voiceSettings: voiceSettings ?? this.voiceSettings,
pronunciationDictionaryLocators: pronunciationDictionaryLocators ??
this.pronunciationDictionaryLocators,
seed: seed ?? this.seed,
previousText: previousText ?? this.previousText,
nextText: nextText ?? this.nextText,
previousRequestIds: previousRequestIds ?? this.previousRequestIds,
nextRequestIds: nextRequestIds ?? this.nextRequestIds,
usePvcAsIvc: usePvcAsIvc ?? this.usePvcAsIvc,
applyTextNormalization:
applyTextNormalization ?? this.applyTextNormalization,
applyLanguageTextNormalization: applyLanguageTextNormalization ??
this.applyLanguageTextNormalization);
}