getMatchedStylesForNode method

Future<GetMatchedStylesForNodeResult> getMatchedStylesForNode(
  1. NodeId nodeId
)

Returns requested styles for a DOM node identified by nodeId.

Implementation

Future<GetMatchedStylesForNodeResult> getMatchedStylesForNode(
    dom.NodeId nodeId) async {
  var result = await _client.send('CSS.getMatchedStylesForNode', {
    'nodeId': nodeId,
  });
  return GetMatchedStylesForNodeResult.fromJson(result);
}