showInterstitialAd static method

Future<String?> showInterstitialAd(
  1. String adId, {
  2. Callback? onAdImpression,
  3. Callback? onAdClicked,
  4. FailureCallback? onAdFailed,
  5. CloseCallback? onAdClosed,
})

Implementation

static Future<String?> showInterstitialAd(String adId,
    {Callback? onAdImpression,
    Callback? onAdClicked,
    FailureCallback? onAdFailed,
    CloseCallback? onAdClosed}) {
  return ShowPlatform.instance.showInterstitialAd(adId,
      onAdImpression: onAdImpression,
      onAdClicked: onAdClicked,
      onAdClosed: onAdClosed,
      onAdFailed: onAdFailed);
}