pauseDownload method

Future pauseDownload(
  1. String urlOrFileId
)

Implementation

Future pauseDownload(String urlOrFileId) async {
  if (_isDisposed) {
    return;
  }
  await channel.invokeMethod(
    'stopDownload',
    {
      "urlOrFileId": urlOrFileId,
    },
  );
}