update abstract method

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

Updates a data item.

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

Implementation

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