totalBytes property

int get totalBytes

The size of the object from its metadata; 0 until the metadata is read. When the server sends more than that (an object stored with Content-Encoding: gzip arrives decompressed), it follows the bytes written.

Implementation

int get totalBytes => _total;