delete method

Future<void> delete(
  1. T item
)

Performs repository.delete().

Implementation

Future<void> delete(T item) => repository.delete(item.toModel());