getTotalSize method
Returns the total size of all assets in bytes.
Implementation
int getTotalSize() => assets.fold(0, (sum, asset) => sum + asset.info.size);
Returns the total size of all assets in bytes.
int getTotalSize() => assets.fold(0, (sum, asset) => sum + asset.info.size);