matchesMapping method

bool matchesMapping(
  1. DOMNode domNode,
  2. T node
)

Returns true if the mapping for domNode matches node.

Implementation

bool matchesMapping(DOMNode domNode, T node) {
  var element = _elementToDOMNodeMap?.getKeyFromValue(domNode);
  return equalsNodes(element, node);
}