download method
void
download({})
Implements the download method defined in IDSDownloadInterface
.
Delegates the actual download logic to the private.
Implementation
@override
void download({
required String url,
required Function(Uint8List fileBytes) success,
required Function(String error) failure,
}) {
IDSDownloadService.instance.downloadFile(url, success, failure);
}