update abstract method

Future<T> update(
  1. ID id,
  2. E entity
)

Updates a single record by the given id with the new entity object.

Implementation

Future<T> update(ID id, E entity);