size property

int size

The size, in bytes, of the data contained in the Blob object.

MDN Reference

Implementation

int get size => _parts.fold(0, (size, part) => size + getPartSize(part));