getUnusedTotalBytes method

int getUnusedTotalBytes()

Returns total bytes of unused assets.

Implementation

int getUnusedTotalBytes() =>
    unusedAssets.fold(0, (sum, asset) => sum + asset.info.size);