hangUp method

  1. @override
Future<bool> hangUp()
override

Implementation

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