copyWith method

  1. @override
UpdateFileDownload copyWith({
  1. int? fileId,
  2. int? completeDate,
  3. bool? isPaused,
  4. DownloadedFileCounts? counts,
  5. dynamic extra,
  6. int? clientId,
})
override

Implementation

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