saveBool static method

Future<bool> saveBool(
  1. String key,
  2. bool value
)

Implementation

static Future<bool> saveBool(String key, bool value) async {
  await prepareSp();
  return prefs!.setBool(key, value);
}