onHeld method
Handle hold event raised by library and route it to matched call instance
Implementation
void onHeld(int callId, HoldState s) {
_logs?.print('onHeld callId:$callId $s');
int index = _callItems.indexWhere((c) => c.myCallId==callId);
if(index != -1) _callItems[index].onHeld(s);
notifyListeners();
}