getNamedElementNameValue method

String? getNamedElementNameValue(
  1. DOMElement domElement
)

Implementation

String? getNamedElementNameValue(DOMElement domElement) {
  if (namedElementProvider == null) return null;

  var elementName = domElement.getAttributeValue(namedElementAttribute);
  if (elementName != null && elementName.isNotEmpty) {
    return elementName;
  } else {
    return null;
  }
}