getUrlValue method

dynamic getUrlValue({
  1. dynamic url,
})

Implementation

getUrlValue({url}) {

  printO(" start getUrlvalue $url");
  if(listMenu!=null && listMenu.length>0)
    {
    var sds= listMenu.where((element) => element[url]!=null);
    if(sds!=null&&sds.length>0) {
      printO(" end  getUrlvalue ${sds.first[url]}");
      return sds.first[url];
    }
  }
  printO(" end  getUrlvalue $url");
    return null;
}