addPopStateListener method Null safety
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) {
_platformLocation.addPopStateListener(fn);
return () => _platformLocation.removePopStateListener(fn);
}