SearchHistoryItem constructor

SearchHistoryItem(
  1. {required String historyKey,
  2. required String searchTerm,
  3. Id? id}
)

Initialise a model mapping with the given parameters.

Implementation

SearchHistoryItem({
  required this.historyKey,
  required this.searchTerm,
  this.id,
});