AdErrorCallback typedef

AdErrorCallback = void Function(String adType, String error)

Callback for ad error events.

adType - The type of ad ('interstitial' or 'rewarded'). error - The error message describing what went wrong.

Implementation

typedef AdErrorCallback = void Function(String adType, String error);