getElementAttributes method

  1. @override
Map<String, String>? getElementAttributes(
  1. Node? element
)
override

Implementation

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