replaceLocation static method

void replaceLocation(
  1. String url
)

Replaces the current history entry with url via location.replace(). No-op on non-web platforms.

Implementation

static void replaceLocation(String url) => impl.replaceLocation(url);