match method Null safety

AppRouteMatch? match(
  1. String path
)

Finds a defined AppRoute for the path value. If no AppRoute definition was found then function will return null.

Implementation

AppRouteMatch? match(String path) {
  return _routeTree.matchRoute(path);
}