replaceState method Null safety

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

Replace the currently active history entry.

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

Implementation

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