onBannerAdLoadedError property

void Function(BannerAdLoadedErrorEvent)? onBannerAdLoadedError
final

Callback function that is called when a banner ad fails to load.

The onBannerAdLoadedError function is a callback that is triggered when a banner ad fails to load. It takes an optional parameter of type BannerAdLoadedErrorEvent, which provides information about the error. If the banner ad loads successfully, this function will not be called.

Implementation

final void Function(BannerAdLoadedErrorEvent)? onBannerAdLoadedError;