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