copyWithWrapped method

BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPost copyWithWrapped({
  1. Wrapped<String>? text,
  2. Wrapped<String?>? modelId,
  3. Wrapped? languageCode,
  4. Wrapped? voiceSettings,
  5. Wrapped? pronunciationDictionaryLocators,
  6. Wrapped? seed,
  7. Wrapped? previousText,
  8. Wrapped? nextText,
  9. Wrapped? previousRequestIds,
  10. Wrapped? nextRequestIds,
  11. Wrapped<bool?>? usePvcAsIvc,
  12. Wrapped<BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization?>? applyTextNormalization,
  13. Wrapped<bool?>? applyLanguageTextNormalization,
})

Implementation

BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPost
    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
                .BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization?>?
            applyTextNormalization,
        Wrapped<bool?>? applyLanguageTextNormalization}) {
  return BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPost(
      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));
}