setBool function
add a Bool in SharedPref
Implementation
@Deprecated('Use setValue instead')
Future<bool> setBool(String key, bool value) async {
return await getSharedPref().then((pref) async {
return await pref.setBool(key, value);
});
}
add a Bool in SharedPref
@Deprecated('Use setValue instead')
Future<bool> setBool(String key, bool value) async {
return await getSharedPref().then((pref) async {
return await pref.setBool(key, value);
});
}