fromRouteInformation method

AppRouteMatch<dynamic, RouteParams>? fromRouteInformation(
  1. RouteInformation info
)

Implementation

AppRouteMatch? fromRouteInformation(RouteInformation info) {
  var matchRoute = routes.matchRoute(info.location!);
  if (matchRoute?.resolvedUri == null) return null;
  return matchRoute;
}