equals method

bool equals(
  1. Object other
)

Returns true if other is fully equals.

Implementation

bool equals(Object other) =>
    identical(this, other) ||
    other is DOMElement &&
        runtimeType == other.runtimeType &&
        tag == other.tag &&
        equalsAttributes(other) &&
        ((isEmptyContent && other.isEmptyContent) ||
            isEqualsDeep(_content, other._content));