replace static method

void replace(
  1. String location, {
  2. Object? extra,
})

Replaces the current route on the navigation stack with location.

Example:

BloomRouter.replace('/settings');

Implementation

static void replace(String location, {Object? extra}) {
  instance.replace(location, extra: extra);
}