onHeld method

void onHeld(
  1. int callId,
  2. HoldState s
)

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');

  _findCall(callId)?.onHeld(s);
  notifyListeners();
}