replaceState method Null safety

void replaceState(
  1. Object? state,
  2. String title,
  3. String url
)

Replaces the current entry in the browser history stack.

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

Implementation

void replaceState(Object? state, String title, String url);