setLocalStorageResetFlag method

Future<bool> setLocalStorageResetFlag({
  1. required bool reset,
})

Implementation

Future<bool> setLocalStorageResetFlag({required bool reset}) async {
  final prefs = await SharedPreferences.getInstance();
  return await prefs.setBool(_keyResetLocalStorage, reset);
}