CallRejectedEvent constructor

CallRejectedEvent({
  1. required CallResponse call,
  2. required String callCid,
  3. required DateTime createdAt,
  4. String? reason,
  5. String type = 'call.rejected',
  6. required UserResponse user,
})

Returns a new CallRejectedEvent instance.

Implementation

CallRejectedEvent({
  required this.call,
  required this.callCid,
  required this.createdAt,
  this.reason,
  this.type = 'call.rejected',
  required this.user,
});