download method

FileDownloadTask download(
  1. File file
)

Asynchronously downloads the object at this FileStorageReference to a specified local file.

Implementation

FileDownloadTask download(File file) {
  assert(id > 0);
  final FileDownloadTask task = FileDownloadTask._(this, file);
  task._start();
  return task;
}