deleteByIds method
Deletes multiple data items by their unique ids.
correlationId
(optional) transaction id to trace execution through call chain.ids
ids of data items to be deleted. Return Future that receives null for success. Throws error
Implementation
Future deleteByIds(String? correlationId, List<K> ids) async {
var filter = (T item) {
return ids.contains(item.id);
};
await deleteByFilterEx(correlationId, filter);
}