load method

Future<SharedPreferences> load()

Implementation

Future<SharedPreferences> load() async {
  await SessionManagerSDK().init();
  _preferences = SessionManagerSDK().preferences ?? await SharedPreferences.getInstance();
  localKeys.clear();
  final keys = _preferences.getStringList(_localPreferencesUniqueKey);
  localKeys.addAll(keys ?? []);
  return _preferences;
}