loadInterstitial static method

Future loadInterstitial(
  1. String placementId
)

Loads an Interstitial Ad.

Set interstititalListener to track loading and display events for the Interstitial Ad.

Ad is ready to be shown when adReady event is received.

Args: placementId (String): The placement ID of the interstitial ad.

Implementation

static Future<dynamic> loadInterstitial(String placementId) async {
  await _channel
      .invokeMethod('loadInterstitial', {'placementId': placementId});
}