equalsAttributes method
Returns true if other have the same attributes.
Implementation
bool equalsAttributes(DOMElement other) =>
    ((hasEmptyAttributes && other.hasEmptyAttributes) ||
        isEqualsDeep(_attributes, other._attributes));
Returns true if other have the same attributes.
bool equalsAttributes(DOMElement other) =>
    ((hasEmptyAttributes && other.hasEmptyAttributes) ||
        isEqualsDeep(_attributes, other._attributes));