RoomInfo constructor

RoomInfo({
  1. String roomID = '',
  2. String roomName = '',
  3. RoomUser? roomOwner,
  4. RoomType roomType = RoomType.standard,
  5. int participantCount = 0,
  6. int audienceCount = 0,
  7. int createTime = 0,
  8. RoomStatus roomStatus = RoomStatus.scheduled,
  9. int scheduledStartTime = 0,
  10. int scheduledEndTime = 0,
  11. int startReminderInSeconds = 0,
  12. List<RoomUser>? scheduleAttendees,
  13. String? password,
  14. bool isAllMicrophoneDisabled = false,
  15. bool isAllCameraDisabled = false,
  16. bool isAllMessageDisabled = false,
  17. bool isAllScreenShareDisabled = false,
})

Implementation

RoomInfo({
  this.roomID = '',
  this.roomName = '',
  RoomUser? roomOwner,
  this.roomType = RoomType.standard,
  this.participantCount = 0,
  this.audienceCount = 0,
  this.createTime = 0,
  this.roomStatus = RoomStatus.scheduled,
  this.scheduledStartTime = 0,
  this.scheduledEndTime = 0,
  this.startReminderInSeconds = 0,
  List<RoomUser>? scheduleAttendees,
  this.password,
  this.isAllMicrophoneDisabled = false,
  this.isAllCameraDisabled = false,
  this.isAllMessageDisabled = false,
  this.isAllScreenShareDisabled = false,
})  : roomOwner = roomOwner ?? RoomUser(),
      scheduleAttendees = scheduleAttendees ?? [];