ClosedCaptionEvent constructor

ClosedCaptionEvent({
  1. required String callCid,
  2. required CallClosedCaption closedCaption,
  3. required DateTime createdAt,
  4. String type = 'call.closed_caption',
})

Returns a new ClosedCaptionEvent instance.

Implementation

ClosedCaptionEvent({
  required this.callCid,
  required this.closedCaption,
  required this.createdAt,
  this.type = 'call.closed_caption',
});