onDtmfReceived method

void onDtmfReceived(
  1. int callId,
  2. int tone
)

Handle receive DTMF event raised by library and route it to matched call instance

Implementation

void onDtmfReceived(int callId, int tone) {
  _logs?.print('onDtmfReceived callId:$callId tone:$tone');

  _findCall(callId)?.onDtmfReceived(tone);
}