RoomInfo constructor

RoomInfo({
  1. required int roomId,
  2. String? roomName,
  3. String? coverUrl,
  4. int? memberCount,
  5. required String ownerId,
  6. String? ownerName,
})

Implementation

RoomInfo(
    {required this.roomId,
    this.roomName,
    this.coverUrl,
    this.memberCount,
    required this.ownerId,
    this.ownerName});