handleGetMatchedStylesForNode method
Implementation
void handleGetMatchedStylesForNode(int? id, Map<String, dynamic> params) {
int nodeId = params['nodeId'];
Element? element = elementManager.getEventTargetByTargetId<Element>(nodeId);
if (element != null) {
MatchedStyles matchedStyles = MatchedStyles(
inlineStyle: buildInlineStyle(element.style),
);
sendToFrontend(id, matchedStyles);
}
}