destroy method

Future<bool?> destroy()

Implementation

Future<bool?> destroy() async {
  interstitialAds[id] = null;
  bool? result = await Ads.instance.channelInterstitial
      .invokeMethod("destroyAd", <String, dynamic>{'id': id, 'rId': rId, "adType": _adType});
  return result;
}