peakObservedLiveCount property

int get peakObservedLiveCount

Aggregate monotonic high-water mark across every bucket. Broader than the capture-procedure scope — use peakObservedLiveCountFor inside a capture screen so an ambient bucket cannot contaminate the magnitude the bracket validator cross-checks against.

Implementation

int get peakObservedLiveCount {
  if (_peakObservedLiveCountByName.isEmpty) return 0;
  return _peakObservedLiveCountByName.values.reduce((a, b) => a > b ? a : b);
}