rejectCall method

Future rejectCall({
  1. String? callId,
})

rejectCall will reject incoming call

Implementation

Future rejectCall({String? callId}) async {
  return await wpClient.evaluateJs(
    '''WPP.call.rejectCall(${callId.jsParse});''',
    methodName: "RejectCallResult",
  );
}