checkHasUser static method
Implementation
static bool checkHasUser(int userId,{bool showToast=true}) {
dynamic user=pocChangeNotifier.getUser(userId);
if(user!=null){
return true;
}else{
if(showToast){
playText(getTranslation("NoMatchingUsers"), true);
ToastUtils.instance.show(getTranslation("NoMatchingUsers"));
}
return false;
}
}