equalsAttributeValue method

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

Parses value and returns true if is equals to this instance value.

Implementation

@override
bool equalsAttributeValue(Object? value) {
  if (value == null) return !hasAttributeValue;
  return hasAttributeValue && _value == parseString(value);
}