getListByFilterEx method Null safety

Future<List<T>> getListByFilterEx(
  1. String? correlationId,
  2. Function? filter,
  3. Function? sort,
  4. dynamic select
)

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

This method shall be called by a public getListByFilter 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 list Throw error.