Call constructor

Call(
  1. TxSocket txSocket,
  2. TelnyxClient _txClient,
  3. String sessid,
  4. String ringToneFile,
  5. String ringBackFile,
  6. CallHandler callHandler,
  7. Function callEnded,
  8. bool debug, {
  9. AudioService? audioService,
})

Creates a call instance.

Implementation

Call(
  this.txSocket,
  this._txClient,
  this.sessid,
  this.ringToneFile,
  this.ringBackFile,
  this.callHandler,
  this.callEnded,
  this.debug, {
  AudioService? audioService,
}) : _audioService = audioService;