create abstract method

Future<T?> create(
  1. String? correlation_id,
  2. T? item
)

Creates a data item.

  • correlation_id (optional) transaction id to trace execution through call chain.
  • item an item to be created. Return Future that receives created item Throw error.

Implementation

Future<T?> create(String? correlation_id, T? item);