usagePercentage property

double get usagePercentage

Percentage of components that are used.

Implementation

double get usagePercentage =>
    totalComponents > 0 ? (usedComponents / totalComponents) * 100 : 0;