go method

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

Navigate to a URI location w/ optional query parameters, e.g. /family/f2/person/p1?color=blue

Implementation

void go(String location, {Object? extra}) {
  assert(() {
    log.info('going to $location');
    return true;
  }());
  _routeInformationProvider.value =
      RouteInformation(location: location, state: extra);
}