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