getHeapObjectId method
objectId
Identifier of the object to get heap object id for.
Returns: Id of the heap snapshot object corresponding to the passed remote object id.
Implementation
Future<HeapSnapshotObjectId> getHeapObjectId(
runtime.RemoteObjectId objectId) async {
var result = await _client.send('HeapProfiler.getHeapObjectId', {
'objectId': objectId,
});
return HeapSnapshotObjectId.fromJson(
result['heapSnapshotObjectId'] as String);
}