dispose method

void dispose()
override

Dispose the ad to free up resouces. Once disposed, the ad can not be used anymore.

If you try to use a disposed ad, an AssertionError will be thrown

Implementation

void dispose() {
  super.dispose();
  MobileAds.pluginChannel.invokeMethod('disposeAppOpenAd', {'id': id});
}