delete abstract method

Future<void> delete(
  1. K id
)

Deletes the entity with the given id from the database.

Throws an exception if the entity cannot be found or deleted.

Implementation

Future<void> delete(K id);