isLoggedIn method
Implementation
@override
Future isLoggedIn({required MethodCall call}) async{
final isLoggedIn = await _getModuleInstance().isLoggedIn();
return {
"success": true,
"message": isLoggedIn ? "User is logged in" : "User is not logged in",
"data": {
"isLoggedIn": isLoggedIn
}
};
}