interstitialRewardedShowAdHook method
Hook to process the outcome of a a Rewarded Interstital Ad.
See RewardedInterstitialDialog
on how to use this hook.
Implementation
void interstitialRewardedShowAdHook({String? adUnitId}) {
if (_interstitialRewardedMap[adUnitId] == null &&
_interstitialRewardedMap.isEmpty) {
throw 'adUnitId is not given and there is no alternative RewardedInterstitial is available.';
}
adUnitId ??= _interstitialRewardedMap.keys.first;
_interstitialRewardedMap[adUnitId]!.showAdHook();
}