getRouteFromName static method

FxRoute? getRouteFromName(
  1. String routeName
)

Implementation

static FxRoute? getRouteFromName(String routeName){
  for(FxRoute route in _routes){
    if(route.name.compareTo(routeName)==0)
      return route;
  }
  return null;
}