replaceState method
override
Replaces the current entry in the browser history stack.
See: https://developer.mozilla.org/en-US/docs/Web/API/History/replaceState
Implementation
@override
void replaceState(Object? state, String title, String url) {
_history.replaceState(state, title, url);
}