CallSessionResponse constructor

CallSessionResponse({
  1. Map<String, DateTime> acceptedBy = const {},
  2. required int anonymousParticipantCount,
  3. DateTime? endedAt,
  4. required String id,
  5. DateTime? liveEndedAt,
  6. DateTime? liveStartedAt,
  7. Map<String, DateTime> missedBy = const {},
  8. List<CallParticipantResponse> participants = const [],
  9. Map<String, int> participantsCountByRole = const {},
  10. Map<String, DateTime> rejectedBy = const {},
  11. DateTime? startedAt,
  12. DateTime? timerEndsAt,
})

Returns a new CallSessionResponse instance.

Implementation

CallSessionResponse({
  this.acceptedBy = const {},
  required this.anonymousParticipantCount,
  this.endedAt,
  required this.id,
  this.liveEndedAt,
  this.liveStartedAt,
  this.missedBy = const {},
  this.participants = const [],
  this.participantsCountByRole = const {},
  this.rejectedBy = const {},
  this.startedAt,
  this.timerEndsAt,
});