set method Null safety

  1. @override
Future<T?> set(
  1. String? correlationId,
  2. T? item
)
override

Sets a data item. If the data item exists it updates it, otherwise it create a new data item.

  • correlation_id (optional) transaction id to trace execution through call chain.
  • item a item to be set. Return the updated item.