writeToFile method

DownloadTask writeToFile(
  1. File file
)

Writes a remote storage object to the local filesystem.

If a file already exists at the given location, it will be overwritten.

Implementation

DownloadTask writeToFile(File file) {
  return DownloadTask._(storage, _delegate.writeToFile(file));
}