preloadAd static method

Future<bool?> preloadAd({
  1. required String adSlotId,
  2. int? orientation,
  3. AdParam? adParam,
})

Implementation

static Future<bool?> preloadAd({required String adSlotId, int? orientation, AdParam? adParam}) {
  return Ads.instance.channelSplash.invokeMethod("preloadSplashAd", <String, dynamic>{
    'adSlotId': adSlotId,
    'adParam': adParam?.toJson(),
  });
}