loadInterstitialAd method

Future<void> loadInterstitialAd(
  1. String position, {
  2. String? pageType,
})

Loads an interstitial ad for a given position.

  • position: The placement identifier for the interstitial ad.
  • pageType: (Optional) The type of page/context for the ad.

Implementation

Future<void> loadInterstitialAd(String position, {String? pageType}) async {
  await _hostApi.loadInterstitialAd(position, pageType);
}