items are the original item on which we want extract suggestions
items
typedef SuggestedItems<T> = List<T> Function(List<T> items);