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