setBool abstract method
setBool use for store boolean
return true
if value store successfully else return false
Example :
ProSheredPreference sheredPrefHelper = ProSheredPreference();
bool result = await sheredPrefHelper.setBool("key", true);
print(result); // true
Implementation
Future<bool> setBool(String key, bool value);