destroyWidgetAdView static method
Destroys a MaxAdView platform widget for the specified adUnitId
.
Returns a Future<void>
that completes the destruction of the MaxAdView
platform widget. If the destruction operation fails, the Future
completes with an error.
Implementation
static Future<void> destroyWidgetAdView(String adUnitId) {
return _methodChannel.invokeMethod('destroyWidgetAdView', {
'ad_unit_id': adUnitId,
});
}