load static method
Future<void>
load({
- required String adUnitId,
- required AdRequest request,
- required InterstitialAdLoadCallback adLoadCallback,
Loads an InterstitialAd with the given adUnitId
and request
.
Implementation
static Future<void> load({
required String adUnitId,
required AdRequest request,
required InterstitialAdLoadCallback adLoadCallback,
}) async {
InterstitialAd ad = InterstitialAd._(
adUnitId: adUnitId, adLoadCallback: adLoadCallback, request: request);
await instanceManager.loadInterstitialAd(ad);
}