setMultiBool abstract method

Future<bool> setMultiBool(
  1. Map<String, bool> data
)

setMultiBool use for store multiple booleans

return true if all the booleans store successfully else return false

Example :

ProSheredPreference sheredPrefHelper = ProSheredPreference();

bool result = await sheredPrefHelper.setMultiBool({
              "key1": true,
              "key2": false,
              "key3": true
            });
print(result);       // true

Implementation

Future<bool> setMultiBool(Map<String, bool> data);