loadAd method
Implementation
loadAd(AdType adType){
if(_loadingList.contains(adType)){
printDebug("FlutterMaxAd --->$adType is loading");
return;
}
if(checkHasCache(adType)){
printDebug("FlutterMaxAd --->$adType has cache");
return;
}
var list = _getAdListByType(adType);
if(list.isEmpty){
printDebug("FlutterMaxAd --->$adType list is empty");
return;
}
_loadingList.add(adType);
_loadAdByType(adType,list.first);
}