Returns a Map of routes and respective names.
Map<String, String> get routesAndNames => Map.fromEntries(routes.map((r) => MapEntry(r, getRouteName(r) ?? r)));