destroy method

Future<bool?> destroy()

Implementation

Future<bool?> destroy() {
  splashAds[id] = null;
  _streamSplash = null;
  _listenerSub?.cancel();
  return Ads.instance.channelSplash.invokeMethod("destroyAd", <String, dynamic>{'id': id});
}