showInterstitialAd method

Future<void> showInterstitialAd(
  1. PAGInterstitialAd ad
)

Implementation

Future<void> showInterstitialAd(PAGInterstitialAd ad) {
  assert(
    adIdFor(ad) != null,
    '$Ad has not been loaded or has already been disposed.',
  );
  return channel.invokeMethod<void>('showInterstitialAd', <dynamic, dynamic>{
    'adId': adIdFor(ad),
  });
}