getSeatApplicationList method
Implementation
Future<void> getSeatApplicationList() async {
if (!_isApplySpeakRoom()) {
return;
}
var result = await _roomEngine.getSeatApplicationList();
if (result.code == TUIError.success) {
List<TUIRequest> applicationList = result.data ?? <TUIRequest>[];
for (var request in applicationList) {
var userModel = RoomStore.to.getUserById(request.userId) ?? UserModel();
RoomStore.to.addInviteSeatUser(userModel, request);
}
}
}