attributes property

Map<String, String> get attributes

Returns a modifiable map of attributes.

Implementation

Map<String, String> get attributes {
  return _attributes ??= _Attributes(this, '');
}
set attributes (Map<String, String> value)

Implementation

set attributes(Map<String, String> value) {
  attributes.clear();
  for (var entry in value.entries) {
    setAttribute(entry.key, entry.value);
  }
}