copyWith method

BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIdStreamPost copyWith({
  1. String? audio,
  2. String? modelId,
  3. dynamic voiceSettings,
  4. dynamic seed,
  5. bool? removeBackgroundNoise,
  6. dynamic fileFormat,
})

Implementation

BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIdStreamPost copyWith(
    {String? audio,
    String? modelId,
    dynamic voiceSettings,
    dynamic seed,
    bool? removeBackgroundNoise,
    dynamic fileFormat}) {
  return BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIdStreamPost(
      audio: audio ?? this.audio,
      modelId: modelId ?? this.modelId,
      voiceSettings: voiceSettings ?? this.voiceSettings,
      seed: seed ?? this.seed,
      removeBackgroundNoise:
          removeBackgroundNoise ?? this.removeBackgroundNoise,
      fileFormat: fileFormat ?? this.fileFormat);
}