isOfferWallReady static method

Future<bool> isOfferWallReady({
  1. required String placementId,
})

================= OFFER WALL ================= Checks if the Offer Wall is ready to be shown. Returns true if the Offer Wall is ready, false otherwise.

Implementation

static Future<bool> isOfferWallReady({required String placementId}) async {
  try {
    final bool ready = await _channel.invokeMethod('isOfferWallReady', {
      'placementId': placementId,
    });
    return ready;
  } catch (e) {
    debugPrint('Error checking if Offer Wall is ready: $e');
    return false;
  }
}