match method

RouteMatch? match(
  1. BuildContext context
)

Returns the match result of this route which internally calls router.matcher.matchByRoute

Implementation

RouteMatch? match(BuildContext context) {
  return context.router.match(this);
}