setBoolValues method

Future setBoolValues(
  1. String key,
  2. bool value
)

Implementation

Future<dynamic> setBoolValues(String key, bool value) async {
  var prefs = await SharedPreferences.getInstance();
  await prefs.setBool(key, value);
}