loadAd method

dynamic loadAd({
  1. required String posId,
  2. bool loadThenShow = true,
  3. Map<String, String> scenes = const {},
})

加载广告

Implementation

loadAd({required String posId, bool loadThenShow = true,Map<String, String> scenes = const {}}) {
  load(
    posId: posId,
    methodName: loadThenShow
        ? BwtAdCore.methodLoadThenShowInterstitialAd
        : BwtAdCore.methodLoadInterstitialAd,
    arguments: {BwtAdCore.keyScenes:scenes}
  );
}