addAttributes method
Overridden to prevent manual modification of the 'd' attribute via a map.
Implementation
@override
void addAttributes(Map<String, String> attributes) {
final Map<String, String> attrs = Map.from(attributes);
attrs.remove('d');
super.addAttributes(attrs);
}