getOrCreateDomEventListener method

dynamic getOrCreateDomEventListener(
  1. EventListener fn
)

Implementation

DomEventListener getOrCreateDomEventListener(EventListener fn) {
  return _popStateListenersCache.putIfAbsent(fn, () => createDomEventListener(fn));
}