addInspectedHeapObject method

Future<void> addInspectedHeapObject(
  1. HeapSnapshotObjectId heapObjectId
)

Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions). heapObjectId Heap snapshot object id to be accessible by means of $x command line API.

Implementation

Future<void> addInspectedHeapObject(HeapSnapshotObjectId heapObjectId) async {
  await _client.send('HeapProfiler.addInspectedHeapObject', {
    'heapObjectId': heapObjectId,
  });
}