getAttributes method
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());
}