checkIfBusy method
Checks if there are any active calls on the device and returns a future with a boolean value
(true
if there're active calls, false
otherwise).
Implementation
Future<bool?> checkIfBusy() async {
if (!Platform.isIOS) {
return null;
}
return await _channel.invokeMethod<void>('checkIfBusy') as bool;
}