getListByFilterEx method Null safety

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

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 JSON object
  • sort (optional) sorting JSON object Return Future that receives a data list. Throw error