deleteById method Null safety

Future<T?> deleteById(
  1. String? correlation_id,
  2. K id
)

Deleted a data item by it's unique id.

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