callCloseInterstitialAds method

  1. @override
Future callCloseInterstitialAds()
override

Implementation

@override
Future callCloseInterstitialAds() async {
  try {
    await platform.invokeMethod('CloseInterstitial');
    return true;
  } on PlatformException catch (e) {
    if (kDebugMode) {
      print("Failed to call CloseInterstitialAds: '${e.message}'.");
    }
    return true;
  }
}