copyWith method

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

Implementation

DubbingMediaReference copyWith(
    {String? src,
    String? contentType,
    String? bucketName,
    String? randomPathSlug,
    double? durationSecs,
    bool? isAudio,
    String? url}) {
  return DubbingMediaReference(
      src: src ?? this.src,
      contentType: contentType ?? this.contentType,
      bucketName: bucketName ?? this.bucketName,
      randomPathSlug: randomPathSlug ?? this.randomPathSlug,
      durationSecs: durationSecs ?? this.durationSecs,
      isAudio: isAudio ?? this.isAudio,
      url: url ?? this.url);
}