setNodeName method

Future<int> setNodeName(
  1. int nodeId,
  2. String name
)

Implementation

Future<int> setNodeName(int nodeId, String name) async {
  var resp = await sendCommand('DOM.setNodeName',
      params: {'nodeId': nodeId, 'name': name});
  return resp.result!['nodeId'] as int;
}