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