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
Uploadsfilewith a resumable upload that streams it from disk, so the file is never held in memory. See Reference.startUpload formetadataandexistingSessionUri. -
writeToFile(
File file) → Future< int> -
Available on Reference, provided by the ReferenceIo extension
Downloads the object intofileand returns its size in bytes.