loadAdSuccess method

dynamic loadAdSuccess(
  1. MaxAd ad
)

Implementation

loadAdSuccess(MaxAd ad){
  var adBean = getAdInfoBeanById(ad.adUnitId);
  if(null!=adBean){
    "flutter ios ad --->${interAd?"inter ad":"rv ad"}--->${ad.adUnitId} load ad success--->revenue:${ad.revenue}".log();
    iosLoadAdResultCallback.loadAdSuccessCallback.call(ad,adBean);
    _loadingList.remove(adBean.adId);
    _resultMap[adBean.adId]=LoadResultData(
      loadTime: DateTime.now().millisecondsSinceEpoch,
      adBean: adBean,
      revenue: ad.revenue,
    );
  }
}