WSCallEvent constructor

WSCallEvent({
  1. required String callCid,
  2. required DateTime createdAt,
  3. required String digit,
  4. required int durationMs,
  5. required int seqNumber,
  6. required DateTime timestamp,
  7. String type = 'ingress.stopped',
  8. required UserResponse user,
  9. String? code,
  10. required String error,
  11. required String ingressStreamId,
  12. required String userId,
  13. String? clientIp,
  14. String? clientName,
  15. required String publisherType,
  16. String? version,
})

Returns a new WSCallEvent instance.

Implementation

WSCallEvent({
  required this.callCid,
  required this.createdAt,
  required this.digit,
  required this.durationMs,
  required this.seqNumber,
  required this.timestamp,
  this.type = 'ingress.stopped',
  required this.user,
  this.code,
  required this.error,
  required this.ingressStreamId,
  required this.userId,
  this.clientIp,
  this.clientName,
  required this.publisherType,
  this.version,
});