destroyAd static method
Destroy an ad instance and free resources
Call this when you're done with an ad to prevent memory leaks.
Implementation
static Future<bool> destroyAd({required String adId}) async {
_listeners.remove(adId);
return await _invokeMethod<bool>('destroyAd', {'adId': adId}) ?? false;
}