replace abstract method

void replace(
  1. Uri uri, [
  2. Object? state
])

Replaces the current history entry.

The optional state is stored on the entry and can be read back via location's RouteInformation.state.

Implementation

void replace(Uri uri, [Object? state]);