getCallCloseInterstitialAds method

  1. @override
Future getCallCloseInterstitialAds()
override

Implementation

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