buildWhen method
Implementation
bool buildWhen(
FastRewardedAdBlocState previous,
FastRewardedAdBlocState next,
) {
if (onlyWhenLoading) {
return previous.isLoadingAd != next.isLoadingAd;
}
return previous.isLoadingAd != next.isLoadingAd ||
previous.hasError != next.hasError ||
previous.hasDismissedAd != next.hasDismissedAd;
}