load static method

Future<void> load({
  1. required String adUnitId,
  2. required PAGInterstitialAdLoadListener adLoadCallback,
})

Implementation

static Future<void> load({
  required String adUnitId,
  required PAGInterstitialAdLoadListener adLoadCallback,
}) async {
  PAGInterstitialAd ad = PAGInterstitialAd._(adUnitId: adUnitId, adLoadCallback: adLoadCallback);

  await instanceManager.loadInterstitialAd(ad);
}