getPageByFilterEx method Null safety

Future<DataPage<T>> getPageByFilterEx(
  1. String? correlationId,
  2. Map<String, dynamic>? filter,
  3. PagingParams? paging,
  4. Map<String, dynamic>? sort
)

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