setLogin static method

Future setLogin(
  1. bool val
)

Implementation

static Future setLogin(bool val) async {
  await _preferences.setBool("${prefix}login", val);
}