delete method

  1. @override
Future<void> delete(
  1. Model item
)
override

Deletes an entry in the repository.

Implementation

@override
Future<void> delete(Model item) async {
  _box.delete(item.id);
}