setIsLogin static method

Future<bool> setIsLogin(
  1. bool value
)

to set user login status

Implementation

static Future<bool> setIsLogin(bool value) async {
  return await _prefsInstance?.setBool("isLogin", value) ?? false;
}