copyWithWrapped method

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

Implementation

BodyDubAVideoOrAnAudioFileV1DubbingPost copyWithWrapped(
    {Wrapped<dynamic>? file,
    Wrapped<dynamic>? csvFile,
    Wrapped<dynamic>? foregroundAudioFile,
    Wrapped<dynamic>? backgroundAudioFile,
    Wrapped<dynamic>? name,
    Wrapped<dynamic>? sourceUrl,
    Wrapped<String?>? sourceLang,
    Wrapped<dynamic>? targetLang,
    Wrapped<int?>? numSpeakers,
    Wrapped<bool?>? watermark,
    Wrapped<dynamic>? startTime,
    Wrapped<dynamic>? endTime,
    Wrapped<bool?>? highestResolution,
    Wrapped<bool?>? dropBackgroundAudio,
    Wrapped<dynamic>? useProfanityFilter,
    Wrapped<bool?>? dubbingStudio,
    Wrapped<bool?>? disableVoiceCloning,
    Wrapped<dynamic>? mode}) {
  return BodyDubAVideoOrAnAudioFileV1DubbingPost(
      file: (file != null ? file.value : this.file),
      csvFile: (csvFile != null ? csvFile.value : this.csvFile),
      foregroundAudioFile: (foregroundAudioFile != null
          ? foregroundAudioFile.value
          : this.foregroundAudioFile),
      backgroundAudioFile: (backgroundAudioFile != null
          ? backgroundAudioFile.value
          : this.backgroundAudioFile),
      name: (name != null ? name.value : this.name),
      sourceUrl: (sourceUrl != null ? sourceUrl.value : this.sourceUrl),
      sourceLang: (sourceLang != null ? sourceLang.value : this.sourceLang),
      targetLang: (targetLang != null ? targetLang.value : this.targetLang),
      numSpeakers:
          (numSpeakers != null ? numSpeakers.value : this.numSpeakers),
      watermark: (watermark != null ? watermark.value : this.watermark),
      startTime: (startTime != null ? startTime.value : this.startTime),
      endTime: (endTime != null ? endTime.value : this.endTime),
      highestResolution: (highestResolution != null
          ? highestResolution.value
          : this.highestResolution),
      dropBackgroundAudio: (dropBackgroundAudio != null
          ? dropBackgroundAudio.value
          : this.dropBackgroundAudio),
      useProfanityFilter: (useProfanityFilter != null
          ? useProfanityFilter.value
          : this.useProfanityFilter),
      dubbingStudio:
          (dubbingStudio != null ? dubbingStudio.value : this.dubbingStudio),
      disableVoiceCloning: (disableVoiceCloning != null
          ? disableVoiceCloning.value
          : this.disableVoiceCloning),
      mode: (mode != null ? mode.value : this.mode));
}