SeatUserInfo constructor

SeatUserInfo({
  1. String userID = '',
  2. String userName = '',
  3. String avatarURL = '',
  4. Role role = Role.generalUser,
  5. String liveID = '',
  6. DeviceStatus microphoneStatus = DeviceStatus.off,
  7. bool allowOpenMicrophone = true,
  8. DeviceStatus cameraStatus = DeviceStatus.off,
  9. bool allowOpenCamera = true,
  10. SuspendStatus userSuspendStatus = SuspendStatus.none,
})

Implementation

SeatUserInfo({
  this.userID = '',
  this.userName = '',
  this.avatarURL = '',
  this.role = Role.generalUser,
  this.liveID = '',
  this.microphoneStatus = DeviceStatus.off,
  this.allowOpenMicrophone = true,
  this.cameraStatus = DeviceStatus.off,
  this.allowOpenCamera = true,
  this.userSuspendStatus = SuspendStatus.none,
});