cancelDownload method

void cancelDownload()

Cancels a previously started download operation. This method is asynchronous; the operation will finish when the progress listener is notified.

Implementation

void cancelDownload() {
  objectMethod(
    _pointerId,
    'MapDownloaderService',
    'cancelDownload',
  );
}