setRewardedAd function

void setRewardedAd(
  1. RewardedAd? reward
)

Implementation

void setRewardedAd(RewardedAd? reward) {
  if (reward != null) {
    setTimerDelayed();
  } else {
    resetTimerDelayed();
  }
  _rewardedAd = reward;
}