update abstract method

Future<T> update(
  1. T item
)

Updates an existing item in the local repository.

Throws an exception if the update fails.

Implementation

Future<T> update(T item);