highlightRect method
Implementation
Future<void> highlightRect(int x, int y, int width, int height,
{Rgba? color, Rgba? outlineColor}) {
var params = <String, dynamic>{
'x': x,
'y': y,
'width': width,
'height': height
};
if (color != null) {
params['color'] = color;
}
if (outlineColor != null) {
params['outlineColor'] = outlineColor;
}
return sendCommand('DOM.highlightRect', params: params);
}