getAttributeValue method

  1. @override
String? getAttributeValue([
  1. DOMContext? domContext,
  2. DOMTreeMap? treeMap
])
override

Returns the attribute value.

domContext Optional context, used by DOMGenerator.

Implementation

@override
String? getAttributeValue([DOMContext? domContext, DOMTreeMap? treeMap]) {
  if (hasAttributeValue) {
    return _css.toString(domContext);
  }
  return null;
}