reject method

Future<void> reject([
  1. Map<String, String>? headers
])

Rejects the incoming call.

Should be used only for incoming calls.

Indicates that the user is not available only at a particular device.

Optional headers - Optional SIP headers

Throws VIException, if an error occurred.

Errors:

Implementation

Future<void> reject([Map<String, String>? headers]) async {
  await _reject('reject', headers);
}