addPopStateListener method Null safety

  1. @override
VoidCallback addPopStateListener(
  1. EventListener fn
)
override

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

Implementation

@override
ui.VoidCallback addPopStateListener(EventListener fn) {
  // No-op.
  return () {};
}