clear method

Future<bool> clear({
  1. bool notify = true,
  2. Set<String>? allowList,
})

Clear all key-valure pairs from SharedPreferences.

Implementation

Future<bool> clear({bool notify = true, Set<String>? allowList}) async {
  assert(_key != null);
  return _decorator.clear(notify: notify, allowList: allowList);
}