copyWithWrapped method

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

Implementation

BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPost
    copyWithWrapped(
        {Wrapped<String>? text,
        Wrapped<String?>? modelId,
        Wrapped<dynamic>? languageCode,
        Wrapped<dynamic>? voiceSettings,
        Wrapped<List<PronunciationDictionaryVersionLocatorRequestModel>?>?
            pronunciationDictionaryLocators,
        Wrapped<dynamic>? seed,
        Wrapped<dynamic>? previousText,
        Wrapped<dynamic>? nextText,
        Wrapped<List<String>?>? previousRequestIds,
        Wrapped<List<String>?>? nextRequestIds,
        Wrapped<bool?>? usePvcAsIvc,
        Wrapped<
                enums
                .BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization?>?
            applyTextNormalization,
        Wrapped<bool?>? applyLanguageTextNormalization}) {
  return BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPost(
      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));
}