addPopStateListener method Null safety

VoidCallback addPopStateListener(
  1. EventListener fn
)

Adds a listener to the popstate event and returns a function that removes the listener.

Implementation

external ui.VoidCallback addPopStateListener(html.EventListener fn);