highlightNode method
Implementation
Future<void> highlightNode(
int nodeId, {
Rgba? borderColor,
Rgba? contentColor,
Rgba? marginColor,
Rgba? paddingColor,
bool? showInfo,
}) {
var params = <String, dynamic>{
'nodeId': nodeId,
'highlightConfig': <String, dynamic>{
if (borderColor != null) 'borderColor': borderColor,
if (contentColor != null) 'contentColor': contentColor,
if (marginColor != null) 'marginColor': marginColor,
if (paddingColor != null) 'paddingColor': paddingColor,
if (showInfo != null) 'showInfo': showInfo,
},
};
return sendCommand('DOM.highlightNode', params: params);
}