setBoolList abstract method

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

setBoolList use for store list of boolean

return true if list store successfully else return false

Example :

ProSheredPreference sheredPrefHelper = ProSheredPreference();

bool result = await sheredPrefHelper.setBoolList("key", [true, false, true, false]);
print(result);       // true

Implementation

Future<bool> setBoolList(String key, List<bool> value);