summary property
Categorized summary of changes.
Implementation
Map<NiceViewChangeType, int> get summary {
final counts = <NiceViewChangeType, int>{};
for (final c in changes) {
counts[c.type] = (counts[c.type] ?? 0) + 1;
}
return counts;
}