init method

void init({
  1. CallEventHandler? onCallAccepted,
  2. CallEventHandler? onCallRejected,
})

Implementation

void init({
  CallEventHandler? onCallAccepted,
  CallEventHandler? onCallRejected,
}) {
  _onCallAccepted = onCallAccepted;
  _onCallRejected = onCallRejected;
  initMessagesHandler();
}