copyWith method

DownloadedFileCounts copyWith({
  1. int? activeCount,
  2. int? pausedCount,
  3. int? completedCount,
})

Implementation

DownloadedFileCounts copyWith({
  int? activeCount,
  int? pausedCount,
  int? completedCount,
}) => DownloadedFileCounts(
  activeCount: activeCount ?? this.activeCount,
  pausedCount: pausedCount ?? this.pausedCount,
  completedCount: completedCount ?? this.completedCount,
);