isMappedDOMNode method

bool isMappedDOMNode(
  1. DOMNode? domNode
)

Returns true if domNode is mapped by this instance.

Implementation

bool isMappedDOMNode(DOMNode? domNode) {
  if (domNode == null) return false;
  return _domNodeToElementMap.containsKey(domNode);
}