clearHistory method

Future<void> clearHistory()

Implementation

Future<void> clearHistory() async {
  logDebug("搜索删除全部历史记录: $history");
  history.clear();
  await removeStorage(historyKey);
}