Closed lukepighetti closed 4 years ago
It wasn't clear to me that we had to setup a weighted key for data models.
final options = FuzzyOptions(keys: [
WeightedKey<Entry>(name: "toString", weight: 1.0, getter: (e) => e.toString()),
]);
Would be nice to have it work with toString()
out of the box. Feel free to close this issue.
fuzzy
works great withList<String>
but if we provide data models with atoString()
method it does not return any results. Screenshot and reproduction below.