summary property

String get summary

Implementation

String get summary {
  final counts = <Type, int>{};
  for (final diff in this) {
    int count = counts.putIfAbsent(diff.runtimeType, () => 0);
    counts[diff.runtimeType] = count + 1;
  }
  return counts.entries.map((entry) {
    return "${entry.key}=${entry.value}";
  }).join(", ");
}