CallModel constructor

CallModel(
  1. int myCallId,
  2. String accUri,
  3. String remoteExt,
  4. bool isIncoming,
  5. bool hasSecureMedia,
  6. bool _hasVideo, [
  7. ILogsModel? _logs,
])

Implementation

CallModel(
  this.myCallId,
  this.accUri,
  this.remoteExt,
  this.isIncoming,
  this.hasSecureMedia,
  this._hasVideo, [
  this._logs,
]) {
  _state = isIncoming ? CallState.ringing : CallState.dialing;
}