equalsAttributes method

bool equalsAttributes(
  1. DOMElement other
)

Returns true if other have the same attributes.

Implementation

bool equalsAttributes(DOMElement other) =>
    ((hasEmptyAttributes && other.hasEmptyAttributes) ||
        isEqualsDeep(_attributes, other._attributes));