onSetInspectedNode method
Implementation
void onSetInspectedNode(int? id, Map<String, dynamic> params) {
int? nodeId = params['nodeId'];
if (nodeId == null) return;
Node? node = view.getBindingObject<Node>(
Pointer.fromAddress(view.getTargetIdByNodeId(nodeId)));
if (node != null) {
inspectedNode = node;
}
sendToFrontend(id, null);
}