disposeAd method
Implementation
Future<void> disposeAd(Ad ad) {
final int? adId = adIdFor(ad);
final Ad? disposedAd = _loadedAds.remove(adId);
if (disposedAd == null) {
return Future<void>.value();
}
return channel.invokeMethod<void>(
'disposeAd',
<dynamic, dynamic>{
'adId': adId,
},
);
}