checkHasGroup static method
Implementation
static bool checkHasGroup(int groupId,{bool showToast=true}){
Log.i(tag, "checkHasGroup:$showToast");
dynamic group=pocChangeNotifier.getGroup(groupId);
if(group!=null){
return true;
}else{
if(showToast){
playText(getTranslation("NoGroup"), true);
ToastUtils.instance.show(getTranslation("NoGroup"));
}
return false;
}
}