PropertySelector<T> typedef

PropertySelector<T> = List<String> Function(T item)

Signature for selecting searchable string properties from an item. For example: extracting name and email from a user model.

Implementation

typedef PropertySelector<T> = List<String> Function(T item);