setUrlValue method

dynamic setUrlValue(
  1. dynamic url,
  2. dynamic list
)

Implementation

setUrlValue(url,list){
  if(listMenu!=null  && (list!=null ) ) {
      bool es = listMenu.any((element) => element.containsKey(url));
      printO("is found $es");
      if(es) {
        printO("is found $es");
        return;
      }
      listMenu.add({url:list});
    }
  return;
  }