pushState method Null safety

  1. @override
void pushState(
  1. Object? state,
  2. String title,
  3. String url
)
override

Adds a new entry to the browser history stack.

See: https://developer.mozilla.org/en-US/docs/Web/API/History/pushState

Implementation

@override
void pushState(Object? state, String title, String url) {
  _history.pushState(state, title, url);
}