cancelDownload method

void cancelDownload()

Cancels the downloading of this FileAttachment.

Implementation

void cancelDownload() => downloading?.cancel();