utils/fileInteraction/handle_downloads library
Functions
-
checkCachedFiles(
PapercupsAttachment attachment) → Future< bool> -
getAttachment(
PapercupsAttachment attachment) → Future< File> -
handleDownloadStream(
Stream< StreamedResponse> resp, {required File file, Function? onDownloading, Function? onDownloaded}) → Future<void>