deleteAllPreviousSearchHistory method

  1. @override
Future<void> deleteAllPreviousSearchHistory()
override

Implementation

@override
Future<void> deleteAllPreviousSearchHistory() async {
  final SharedPreferences _sharedPreferences =
      await SharedPreferences.getInstance();
  await _sharedPreferences.remove(SuperKeys.searchHistoryDate);
  await _sharedPreferences.remove(SuperKeys.searchHistoryName);
}