acceptCall method

Call acceptCall(
  1. IncomingInviteParams invite,
  2. String callerName,
  3. String callerNumber,
  4. String clientState, {
  5. bool isAttach = false,
  6. Map<String, String> customHeaders = const {},
})

Accepts the incoming call specified via the invite parameter, sending your local specified callerName, callerNumber and clientState

Implementation

Call acceptCall(
  IncomingInviteParams invite,
  String callerName,
  String callerNumber,
  String clientState, {
  bool isAttach = false,
  Map<String, String> customHeaders = const {},
}) {
  return _txClient.acceptCall(
    invite,
    callerName,
    callerNumber,
    clientState,
    customHeaders: customHeaders,
    isAttach: isAttach,
  );
}