showRewardedAd static method

Future<String?> showRewardedAd(
  1. String adId, {
  2. Callback? onAdImpression,
  3. Callback? onAdClicked,
  4. Callback? onAdRewarded,
  5. FailureCallback? onAdFailed,
  6. CloseCallback? onAdClosed,
})

Implementation

static Future<String?> showRewardedAd(String adId,
    {Callback? onAdImpression,
    Callback? onAdClicked,
    Callback? onAdRewarded,
    FailureCallback? onAdFailed,
    CloseCallback? onAdClosed}) {
  return ShowPlatform.instance.showRewardedAd(adId,
      onAdImpression: onAdImpression,
      onAdClicked: onAdClicked,
      onAdRewarded: onAdRewarded,
      onAdClosed: onAdClosed,
      onAdFailed: onAdFailed);
}