initInterstitialAd static method

Future<void> initInterstitialAd(
  1. String unitId
)

Implementation

static Future<void> initInterstitialAd(String unitId) async {
  try {
    await _channel.invokeMethod<void>(
        'InitInterAd', <String, dynamic>{'UnitId': unitId});
  } catch (e) {
    print(e.toString());
  }
}