Map<String, dynamic> toMap() { return { 'roomID': roomID, 'infos': infos.map((item) => item.toMap()).toList(), 'errorUserList': errorUserList }; }