callInterstitialAds method

  1. @override
Future<bool> callInterstitialAds()
override

Implementation

@override
Future<bool> callInterstitialAds() async {
  try {
    return await platform.invokeMethod('Interstitial');
  } on PlatformException catch (e) {
    if (kDebugMode) {
      print("Failed to call interstitial ad: '${e.message}'.");
    }
    return true;
  }
}