assembleRoute method
Implementation
@visibleForTesting
Map<ModularKey, ModularRoute> assembleRoute(ModularRoute route) {
final Map<ModularKey, ModularRoute> map = {};
if (route.context == null) {
map[route.key] = route;
map.addAll(addChildren(route));
} else {
map.addAll(addModule(route));
}
return map;
}