potentialSavingsPercent property

double get potentialSavingsPercent

Potential size savings if unused components are removed.

Implementation

double get potentialSavingsPercent =>
    totalSizeBytes > 0 ? (unusedSizeBytes / totalSizeBytes) * 100 : 0;