containsAttributeValueEntry method

  1. @override
bool containsAttributeValueEntry(
  1. Object? value
)
override

Implementation

@override
bool containsAttributeValueEntry(Object? value) {
  if (!hasAttributeValue || value == null) {
    return false;
  }

  var cssEntry = CSSEntry.parse(value as String);
  if (cssEntry == null) {
    return false;
  }

  var cssEntry2 = _css.getEntry(cssEntry.name);
  return cssEntry == cssEntry2;
}