CancelDownloadFile constructor

const CancelDownloadFile({
  1. required int fileId,
  2. required bool onlyIfPending,
})

Stops the downloading of a file. If a file has already been downloaded, does nothing

Implementation

const CancelDownloadFile({
  required this.fileId,
  required this.onlyIfPending,
});