pushState method Null safety

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

Adds a new entry to the browser history stack.

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

Implementation

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