copyWithWrapped method

DubbingMediaReference copyWithWrapped({
  1. Wrapped<String>? src,
  2. Wrapped<String>? contentType,
  3. Wrapped<String>? bucketName,
  4. Wrapped<String>? randomPathSlug,
  5. Wrapped<double>? durationSecs,
  6. Wrapped<bool>? isAudio,
  7. Wrapped<String>? url,
})

Implementation

DubbingMediaReference copyWithWrapped(
    {Wrapped<String>? src,
    Wrapped<String>? contentType,
    Wrapped<String>? bucketName,
    Wrapped<String>? randomPathSlug,
    Wrapped<double>? durationSecs,
    Wrapped<bool>? isAudio,
    Wrapped<String>? url}) {
  return DubbingMediaReference(
      src: (src != null ? src.value : this.src),
      contentType:
          (contentType != null ? contentType.value : this.contentType),
      bucketName: (bucketName != null ? bucketName.value : this.bucketName),
      randomPathSlug: (randomPathSlug != null
          ? randomPathSlug.value
          : this.randomPathSlug),
      durationSecs:
          (durationSecs != null ? durationSecs.value : this.durationSecs),
      isAudio: (isAudio != null ? isAudio.value : this.isAudio),
      url: (url != null ? url.value : this.url));
}