copyWith method

FoundFileDownloads copyWith({
  1. DownloadedFileCounts? totalCounts,
  2. List<FileDownload>? files,
  3. String? nextOffset,
})

Implementation

FoundFileDownloads copyWith({
  DownloadedFileCounts? totalCounts,
  List<FileDownload>? files,
  String? nextOffset,
}) => FoundFileDownloads(
  totalCounts: totalCounts ?? this.totalCounts,
  files: files ?? this.files,
  nextOffset: nextOffset ?? this.nextOffset,
);