copyWith method

DubbingMetadataResponse copyWith({
  1. String? dubbingId,
  2. String? name,
  3. String? status,
  4. List<String>? targetLanguages,
  5. dynamic mediaMetadata,
  6. dynamic error,
})

Implementation

DubbingMetadataResponse copyWith(
    {String? dubbingId,
    String? name,
    String? status,
    List<String>? targetLanguages,
    dynamic mediaMetadata,
    dynamic error}) {
  return DubbingMetadataResponse(
      dubbingId: dubbingId ?? this.dubbingId,
      name: name ?? this.name,
      status: status ?? this.status,
      targetLanguages: targetLanguages ?? this.targetLanguages,
      mediaMetadata: mediaMetadata ?? this.mediaMetadata,
      error: error ?? this.error);
}