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