addAllAttributes method
Add attributes to this instance.
Implementation
DOMElement addAllAttributes(Map<String, dynamic>? attributes) {
  if (attributes != null && attributes.isNotEmpty) {
    for (var entry in attributes.entries) {
      var name = entry.key;
      var value = entry.value;
      setAttribute(name, value);
    }
  }
  return this;
}