go method
- String to
Sets the current route to to if guard allows it.
Clears the whole routes stack.
Implementation
void go(String to) {
Log.debug('go($to)', '$runtimeType');
arguments = null;
routes.value = [_guarded(to)];
notifyListeners();
}