update method

void update(
  1. T item
)

Updates an item in the store.

Implementation

void update(T item) {
  _add(item);
  _update(StreamElement(item: item, operation: Operation.update));
}