getElementDOMTreeMap<T> static method

DOMTreeMap<T>? getElementDOMTreeMap<T>(
  1. T? element
)

Returns the DOMTreeMap of the element, if it's associated with some DOMElement.

Implementation

static DOMTreeMap<T>? getElementDOMTreeMap<T>(T? element) {
  if (element == null) return null;
  return _elementsDOMTreeMap[element] as DOMTreeMap<T>?;
}