getSourceOrderHighlightObjectForTest method

Future<Map<String, dynamic>> getSourceOrderHighlightObjectForTest(
  1. NodeId nodeId
)

For Source Order Viewer testing. nodeId Id of the node to highlight. Returns: Source order highlight data for the node id provided.

Implementation

Future<Map<String, dynamic>> getSourceOrderHighlightObjectForTest(
    dom.NodeId nodeId) async {
  var result =
      await _client.send('Overlay.getSourceOrderHighlightObjectForTest', {
    'nodeId': nodeId,
  });
  return result['highlight'] as Map<String, dynamic>;
}