copyWithWrapped method

BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIdStreamPost copyWithWrapped({
  1. Wrapped<String>? audio,
  2. Wrapped<String?>? modelId,
  3. Wrapped? voiceSettings,
  4. Wrapped? seed,
  5. Wrapped<bool?>? removeBackgroundNoise,
  6. Wrapped? fileFormat,
})

Implementation

BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIdStreamPost copyWithWrapped(
    {Wrapped<String>? audio,
    Wrapped<String?>? modelId,
    Wrapped<dynamic>? voiceSettings,
    Wrapped<dynamic>? seed,
    Wrapped<bool?>? removeBackgroundNoise,
    Wrapped<dynamic>? fileFormat}) {
  return BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIdStreamPost(
      audio: (audio != null ? audio.value : this.audio),
      modelId: (modelId != null ? modelId.value : this.modelId),
      voiceSettings:
          (voiceSettings != null ? voiceSettings.value : this.voiceSettings),
      seed: (seed != null ? seed.value : this.seed),
      removeBackgroundNoise: (removeBackgroundNoise != null
          ? removeBackgroundNoise.value
          : this.removeBackgroundNoise),
      fileFormat: (fileFormat != null ? fileFormat.value : this.fileFormat));
}