getAttributes method
Implementation
@override
Future<Map<String, String>> getAttributes(int nodeId) async {
Map<String, String> attributes = await _dom.getAttributes(nodeId);
var node = _getOrCreateNode(nodeId);
node._attributes = Map.from(attributes);
return attributes;
}