toRouteInformation method
Creates a RouteInformation object with data from this route.
Implementation
RouteInformation toRouteInformation() {
return RouteInformation(
location: publicPath,
state: {
'isReplacement': isReplacement,
'internalPath': fullPath,
'requestSource': requestSource.toString(),
'pathTemplate': pathTemplate,
'pathParameters': pathParameters,
'historyIndex': _historyIndex,
},
);
}