addAttributes method

  1. @override
void addAttributes(
  1. Map<String, String> attributes
)
override

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);
}