replaceState method

  1. @override
void replaceState(
  1. Object? state,
  2. String title,
  3. String url
)
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);
}