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