NIMChatroomInfo constructor Null safety

NIMChatroomInfo(
  1. {required String roomId,
  2. String? name,
  3. String? announcement,
  4. String? broadcastUrl,
  5. String? creator,
  6. int validFlag = 0,
  7. int onlineUserCount = 0,
  8. int mute = 0,
  9. Map<String, dynamic>? extension,
  10. NIMChatroomQueueModificationLevel queueModificationLevel = NIMChatroomQueueModificationLevel.anyone}
)

Implementation

NIMChatroomInfo({
  required this.roomId,
  this.name,
  this.announcement,
  this.broadcastUrl,
  this.creator,
  this.validFlag = 0,
  this.onlineUserCount = 0,
  this.mute = 0,
  this.extension,
  this.queueModificationLevel = NIMChatroomQueueModificationLevel.anyone,
});