accept method

Future<bool> accept({
  1. String customData = '',
})

To accept the current call invitation, you can use the customData parameter if you need to provide a reason for the acceptance to the other party.

Additionally, the inviting party can receive notifications by listening to onOutgoingCallAccepted when the other party accepts the call invitation.

Implementation

Future<bool> accept({
  String customData = '',
}) async {
  return _invitation.accept(customData: customData);
}