handleAdShowed method

Stream<FastRewardedAdBlocState> handleAdShowed()

Handles the event when an ad is successfully showed.

Implementation

Stream<FastRewardedAdBlocState> handleAdShowed() async* {
  debugLog(
    'Ad showed. Request id: ${currentState.requestId}',
    debugLabel: debugLabel,
  );

  yield currentState.copyWith(isShowingAd: true);
}