getElementAttributes method
Implementation
@override
Map<String, String>? getElementAttributes(Node? element) {
if (element is Element) {
var attributes = Map.fromEntries(element.attributes.entries);
return attributes;
}
return null;
}