updateMoreList method
Implementation
Future<void> updateMoreList(MoreModel model) async {
if (model.tag == MenuOption.recording) {
startRecording();
} else if (model.tag == MenuOption.switchAT) {
switchAtView();
} else if (model.tag == MenuOption.muteRoom) {
muteRoom();
}else if (model.tag == MenuOption.lobby) {
Future.delayed(const Duration(milliseconds: 500), () {
showRequestDialog(context,this);
});
}else if (model.tag == MenuOption.roomSetting) {
Future.delayed(const Duration(milliseconds: 500), () {
showRoomSettingDialog(context,this);
});
}else if (model.tag == MenuOption.requestFloor) {
Future.delayed(const Duration(milliseconds: 500), () {
shareRequestDialog(context,this);
});
} else if (model.tag == MenuOption.polling){
onPageSlide(EnxPageSlideEventName.enxPolling,true);
}else if (model.tag == MenuOption.qna){
onPageSlide(EnxPageSlideEventName.enxQna,true);
}
/*
else if (model.tag == MenuOption.annotationShare) {
if( model.name=='Start Annotation'){
isLongPress.value=true;
showToastMessageLong('Please long press on player,On which you want to start Annotation');
}else{
annotationShare();
}
// annotationShare();
// showAlert(context);
}
*/
update();
}