checkIfBusy1 method

Future<int?> checkIfBusy1()

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<int?> checkIfBusy1() async {
  if (!Platform.isIOS) {
    return null;
  }
  return await _channel.invokeMethod<void>('checkIfBusy') as int;
}