removeAttributeValueEntry method

  1. @override
String? removeAttributeValueEntry(
  1. Object? name
)
override

Implementation

@override
String? removeAttributeValueEntry(Object? name) {
  if (!hasAttributeValue || name == null) {
    return null;
  }

  var cssEntry = CSSEntry.parse(name as String);
  if (cssEntry == null) return null;

  var cssName = cssEntry.name;

  var cssEntry2 = _css.getEntry(cssName);

  if (cssEntry == cssEntry2) {
    return _css.removeEntry(cssName).toString();
  }
  return null;
}