getAttributeValue method

String? getAttributeValue(
  1. String name, [
  2. DOMContext? domContext
])

Returns attribute value for name.

domContext Optional context used by DOMGenerator.

Implementation

String? getAttributeValue(String name, [DOMContext? domContext]) {
  var attr = getAttribute(name);
  return attr?.getValue(domContext);
}