go method
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));
}