Call constructor

Call(
  1. String id,
  2. CallStatus status,
  3. bool muted,
  4. bool speakerphone,
  5. int duration,
  6. DateTime? startTime,
  7. DateTime? establishTime,
  8. DateTime? endTime,
  9. User source,
  10. User destination,
)

Implementation

Call(
  this.id,
  this.status,
  this.muted,
  this.speakerphone,
  this.duration,
  this.startTime,
  this.establishTime,
  this.endTime,
  this.source,
  this.destination,
) {
  _callEventChannel.setMethodCallHandler(_onMethodCall);
}