checkForActiveCall method

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

Implementation

@override
Future<bool> checkForActiveCall() async {
  try {
    final bool isInCall = await methodChannel.invokeMethod('checkForActiveCall');
    return isInCall;
  } on PlatformException catch (e) {
    debugPrint(e.toString());
    // Handle error here
    return false;
  }
}