replace method

void replace(
  1. String url
)

Calls Location.replace on this cross-origin location with the given url.

Implementation

void replace(String url) => _location.replace(url);