copyWith method

UpdateFileDownload copyWith({
  1. int? fileId,
  2. int? completeDate,
  3. bool? isPaused,
  4. DownloadedFileCounts? counts,
})

Implementation

UpdateFileDownload copyWith({
  int? fileId,
  int? completeDate,
  bool? isPaused,
  DownloadedFileCounts? counts,
}) =>
    UpdateFileDownload(
      fileId: fileId ?? this.fileId,
      completeDate: completeDate ?? this.completeDate,
      isPaused: isPaused ?? this.isPaused,
      counts: counts ?? this.counts,
    );