copyWith method

CancelDownloadFile copyWith({
  1. int? fileId,
  2. bool? onlyIfPending,
})

Implementation

CancelDownloadFile copyWith({
  int? fileId,
  bool? onlyIfPending,
}) =>
    CancelDownloadFile(
      fileId: fileId ?? this.fileId,
      onlyIfPending: onlyIfPending ?? this.onlyIfPending,
    );