attributes property

Map<String, String> attributes

All attributes on this element.

Any modifications to the attribute map will automatically be applied to this element.

This only includes attributes which are not in a namespace (such as 'xlink:href'), additional attributes can be accessed via getNamespacedAttributes.

Implementation

Map<String, String> get attributes => new _ElementAttributeMap(this);
void attributes= (Map<String, String> value)

Implementation

set attributes(Map<String, String> value) {
  Map<String, String> attributes = this.attributes;
  attributes.clear();
  for (String key in value.keys) {
    attributes[key] = value[key];
  }
}