route method
Navigate to a page with the specified link
.
link
is a string set in StandardPageFactory under links
.
Implementation
void route(String link) async {
final tRouteInformation = await parser
?.parseRouteInformation(RouteInformation(uri: Uri.parse(link)));
if (tRouteInformation != null) {
delegate?.routeWithConfiguration(tRouteInformation);
}
}