showInterstitial static method

void showInterstitial(
  1. String adUnitId, {
  2. dynamic placement,
  3. dynamic customData,
})

Shows the interstitial ad with the specified adUnitId.

Showing an Interstitial Ad

Implementation

static void showInterstitial(String adUnitId, {placement, customData}) {
  channel.invokeMethod('showInterstitial', {
    'ad_unit_id': adUnitId,
    'placement': placement,
    'custom_data': customData,
  });
}