ReferenceIo extension

Uploads from and downloads to files.

on

Methods

putFile(File file, {SettableMetadata? metadata, Uri? existingSessionUri}) → UploadTask

Available on Reference, provided by the ReferenceIo extension

Uploads file with a resumable upload that streams it from disk, so the file is never held in memory. See Reference.startUpload for metadata and existingSessionUri.
writeToFile(File file) → Future<int>

Available on Reference, provided by the ReferenceIo extension

Downloads the object into file and returns its size in bytes.