SearchHistoryItem class
A collection of search history items given a certain name.
- Annotations
-
- @JsonSerializable()
- @Collection()
Constructors
- SearchHistoryItem({required String historyKey, required String searchTerm, Id? id})
- Initialise a model mapping with the given parameters.
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- historyKey → String
-
The key representing the history type of this item.
final
- id ↔ Id?
-
A unique identifier for the purposes of database storage.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- searchTerm → String
-
The name of the model to use when exporting with this mapping.
final
- uniqueKey → String
-
Enforces the uniqueness of a search term within its history type.
read-only
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited