isLogged method
Implementation
Future<bool> isLogged() async {
try{
String? user = await storage.read(key: KeyUtils.KEY_USER);
if(user != null && user.isNotEmpty){
return true;
}else{
return false;
}
}on Exception catch (e){
print('BEA isLogged error');
FLog.error(
className: this.runtimeType.toString(),
methodName: "isLogged",
text: 'BEA isLogged error - $e');
throw e;
}
}