getAttribute method

  1. @override
String? getAttribute(
  1. Node element,
  2. String attrName
)
override

Implementation

@override
String? getAttribute(Node element, String attrName) {
  if (element is Element) {
    return element.getAttribute(attrName);
  }
  return null;
}