toRouteInformation method
Convert the current Destination to a RouteInformation.
Implementation
RouteInformation toRouteInformation() {
return RouteInformation(location: path, state: metadata);
}
Convert the current Destination to a RouteInformation.
RouteInformation toRouteInformation() {
return RouteInformation(location: path, state: metadata);
}