setBool static method

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

Implementation

static Future<void> setBool(String key, bool value) async {
  Log.i(tag, "setBool:"+key+","+value.toString());
  await prefs.setBool(key, value);
}