attributes property
LinkedHashMap<String, String>
get
attributes
Returns a linked hash map representing the attributes of the node, or an empty map if it has no attributes.
Implementation
LinkedHashMap<String, String> get attributes {
return LinkedHashMap.from(node.attributes.map((key, value) {
// Key is either a String or html.AttributeName
return MapEntry(key.toString(), value);
}));
}