onLastSeenObjectId property

Stream<LastSeenObjectIdEvent> get onLastSeenObjectId

If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.

Implementation

Stream<LastSeenObjectIdEvent> get onLastSeenObjectId => _client.onEvent
    .where((event) => event.name == 'HeapProfiler.lastSeenObjectId')
    .map((event) => LastSeenObjectIdEvent.fromJson(event.parameters));