location property

String get location

Implementation

String get location {
  final parser = router.routeInformationParser;
  final config = delegate.currentConfiguration;
  return parser?.restoreRouteInformation(config)?.uri.toString() ?? '/';
}