InterstitialAd constructor

InterstitialAd(
  1. {String adPlatform,
  2. String adUnitId,
  3. MobileAdTargetingInfo targetingInfo,
  4. MobileAdListener listener}
)

Create an Interstitial.

A valid adUnitId is required.

Implementation

InterstitialAd({
  String adPlatform,
  String adUnitId,
  MobileAdTargetingInfo targetingInfo,
  MobileAdListener listener,
}) : super(
     adPlatform :adPlatform,
     adUnitId: adUnitId,
          targetingInfo: targetingInfo,
          listener: listener);