@override Future<bool> hangUp() async { try { return await methodChannel.invokeMethod('hangUp'); } on PlatformException catch (error) { debugPrint("$error"); return false; } }