isRouteNamedArg method
Check if the route is a named argument route. Returns true if the name matches a route pattern with parameters.
Implementation
bool isRouteNamedArg(String name) {
// Quick check: if the route exists directly, it's not a named arg pattern
if (_routeNameMappings.containsKey(name)) {
return false;
}
// Check if this name matches any parameterized route pattern
return RouteMatcher(name).findMatch(_routeNameMappings) != null;
}