getMapped static method

Map<String, WidgetBuilder> getMapped()

Implementation

static Map<String,WidgetBuilder> getMapped(){
  Map<String,WidgetBuilder> routesMap ={};

  for(FxRoute route in _routes){
    routesMap[route.name] = route.widgetBuilder;
  }



  return routesMap;

}