FavoriteItems<T> typedef

FavoriteItems<T> = List<T> Function(List<T> items)

items are the original item from items or/and asyncItems

Implementation

typedef FavoriteItems<T> = List<T> Function(List<T> items);