copyWith method

BodyDubAVideoOrAnAudioFileV1DubbingPost copyWith({
  1. dynamic file,
  2. dynamic csvFile,
  3. dynamic foregroundAudioFile,
  4. dynamic backgroundAudioFile,
  5. dynamic name,
  6. dynamic sourceUrl,
  7. String? sourceLang,
  8. dynamic targetLang,
  9. int? numSpeakers,
  10. bool? watermark,
  11. dynamic startTime,
  12. dynamic endTime,
  13. bool? highestResolution,
  14. bool? dropBackgroundAudio,
  15. dynamic useProfanityFilter,
  16. bool? dubbingStudio,
  17. bool? disableVoiceCloning,
  18. dynamic mode,
})

Implementation

BodyDubAVideoOrAnAudioFileV1DubbingPost copyWith(
    {dynamic file,
    dynamic csvFile,
    dynamic foregroundAudioFile,
    dynamic backgroundAudioFile,
    dynamic name,
    dynamic sourceUrl,
    String? sourceLang,
    dynamic targetLang,
    int? numSpeakers,
    bool? watermark,
    dynamic startTime,
    dynamic endTime,
    bool? highestResolution,
    bool? dropBackgroundAudio,
    dynamic useProfanityFilter,
    bool? dubbingStudio,
    bool? disableVoiceCloning,
    dynamic mode}) {
  return BodyDubAVideoOrAnAudioFileV1DubbingPost(
      file: file ?? this.file,
      csvFile: csvFile ?? this.csvFile,
      foregroundAudioFile: foregroundAudioFile ?? this.foregroundAudioFile,
      backgroundAudioFile: backgroundAudioFile ?? this.backgroundAudioFile,
      name: name ?? this.name,
      sourceUrl: sourceUrl ?? this.sourceUrl,
      sourceLang: sourceLang ?? this.sourceLang,
      targetLang: targetLang ?? this.targetLang,
      numSpeakers: numSpeakers ?? this.numSpeakers,
      watermark: watermark ?? this.watermark,
      startTime: startTime ?? this.startTime,
      endTime: endTime ?? this.endTime,
      highestResolution: highestResolution ?? this.highestResolution,
      dropBackgroundAudio: dropBackgroundAudio ?? this.dropBackgroundAudio,
      useProfanityFilter: useProfanityFilter ?? this.useProfanityFilter,
      dubbingStudio: dubbingStudio ?? this.dubbingStudio,
      disableVoiceCloning: disableVoiceCloning ?? this.disableVoiceCloning,
      mode: mode ?? this.mode);
}