go method
Navigates to path (updates the hash, which triggers a route update).
Implementation
void go(String path) {
final normalized = path.startsWith('/') ? path : '/$path';
final target = '#$normalized';
if (_window.location.hash == target) {
_sync();
} else {
_window.location.hash = target;
}
}