location property
The current resolved location.
For example if our route map is:
route: {
'/': (RouteData data) => Home(),
'/page1/:id': (RouteData data) => Page1(),
}
- if we navigate to
'/', the location is'/'and the path is'/'. - if we navigate to '/page1/1', the location is '/page1/1' and the path is `'/page1/:id'.
Implementation
final String location;