onRoomInfoChanged method
Implementation
void onRoomInfoChanged(TUIRoomInfo roomInfo) {
state.roomId = roomInfo.roomId;
state.roomName.value = roomInfo.name ?? '';
state.ownerInfo.userId = roomInfo.ownerId;
state.seatMode.value = roomInfo.seatMode;
state.createTime = roomInfo.createTime;
state.maxSeatCount.value = roomInfo.maxSeatCount;
}