FutureRequest<T> typedef
A function that returns a Future list of items, supporting pagination and search.
page is the current page number (starting from 1).
query is the search query.
Implementation
typedef FutureRequest<T> = Future<List<T>> Function(int page, String? query);