wastedCharacters property
int?
get
wastedCharacters
What the components the agent never composed cost, in characters.
Null when no catalog document was measured.
Implementation
int? get wastedCharacters {
final GenUiCatalogWeight? w = weight;
if (w == null) return null;
var total = 0;
for (final String name in unusedComponents) {
total += w.byComponent[name] ?? 0;
}
return total;
}