isBannerReady static method
Hides the banner ad for the specified placement ID. This method will remove the banner from the view. It does not destroy the banner; it can be shown again later.
Implementation
static Future<bool> isBannerReady({required String placementId}) async {
try {
final bool ready = await _channel.invokeMethod('isBannerReady', {
'placementId': placementId,
});
return ready;
} catch (e) {
debugPrint('Error checking if banner is ready: $e');
return false;
}
}