getAttributes method

Future<Map<String, String>> getAttributes(
  1. int nodeId
)

Implementation

Future<Map<String, String>> getAttributes(int nodeId) async {
  WipResponse resp =
      await sendCommand('DOM.getAttributes', params: {'nodeId': nodeId});
  return _attributeListToMap((resp.result!['attributes'] as List).cast());
}