checkForActiveCall method
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;
}
}