isLogged property

Future<bool> isLogged

Checks if the current user is already logged in

Implementation

Future<bool> get isLogged async {
  SharedPreferences prefs = await SharedPreferences.getInstance();
  return prefs.getBool("instagram_auth.logged") ?? false;
}