getPageByFilterEx method Null safety

Future<DataPage<T>> getPageByFilterEx(
  1. String? correlationId,
  2. Function? filter,
  3. PagingParams? paging,
  4. Function? sort,
  5. [dynamic select]
)

Gets a page of data items retrieved by a given filter and sorted according to sort parameters.

This method shall be called by a public getPageByFilter method from child class that receives FilterParams and converts them into a filter function.

  • correlationId (optional) transaction id to trace execution through call chain.
  • filter (optional) a filter function to filter items
  • paging (optional) paging parameters
  • sort (optional) sorting parameters
  • select (optional) projection parameters (not used yet) Return Future that receives a data page Throws error.