onHighlightNode method
Implementation
void onHighlightNode(int? id, Map<String, dynamic> params) {
_highlightElement?.debugHideHighlight();
int nodeId = params['nodeId'];
Element? element = view.getBindingObject<Element>(Pointer.fromAddress(nodeId));
if (element != null) {
element.debugHighlight();
_highlightElement = element;
}
sendToFrontend(id, null);
}