go method

void go(
  1. String location, {
  2. Object? arguments,
})

Rebuilds the canonical ancestor stack and adds a browser-history entry.

Implementation

void go(String location, {Object? arguments}) {
  argumentsCodec.encode(arguments);
  final entries =
      _canonicalStack(parseRouteUri(location), arguments: arguments);
  _change(NavigationAction.reset, () => _replaceStack(entries));
}