onHeapStatsUpdate property
If heap objects tracking has been started then backend may send update for one or more fragments
Implementation
Stream<List<int>> get onHeapStatsUpdate => _client.onEvent
.where((event) => event.name == 'HeapProfiler.heapStatsUpdate')
.map((event) => (event.parameters['statsUpdate'] as List)
.map((e) => e as int)
.toList());