onConnected method
Handles 2xx responses raised by library and route it to matched call instance
Implementation
void onConnected(int callId, String from, String to, bool withVideo) {
_logs?.print('onConnected callId:$callId from:$from to:$to withVideo:$withVideo');
_cdrs?.setConnected(callId, from, to, withVideo);
_findCall(callId)?.onConnected(from, to, withVideo);
notifyListeners();
}