copyWith method

UpdateFileAddedToDownloads copyWith({
  1. FileDownload? fileDownload,
  2. DownloadedFileCounts? counts,
})

Implementation

UpdateFileAddedToDownloads copyWith({
  FileDownload? fileDownload,
  DownloadedFileCounts? counts,
}) =>
    UpdateFileAddedToDownloads(
      fileDownload: fileDownload ?? this.fileDownload,
      counts: counts ?? this.counts,
    );