reportRouteName method
Registers route as an installed route named name, making it a
candidate target for reportDependencyLinkedToRoute calls that carry
the same ownerRouteName.
Implementation
void reportRouteName(String name, T route) {
(_routesByName[name] ??= <T>[]).add(route);
}