@override Future<void> BannerAdShown() async { try { await methodChannel.invokeMethod('BannerAdShown'); } on PlatformException catch (e) { print("Failed to call BannerAdShown: ${e.message}"); } }