RoomInfo constructor

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

Implementation

RoomInfo({
  this.roomID = '',
  this.roomName = '',
  RoomUser? roomOwner,
  this.participantCount = 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 ?? [];