deleteById method

  1. @override
Future<void> deleteById(
  1. String id
)
override

Deletes the entity with the given id from the database.

Implementation

@override
Future<void> deleteById(String id) {
  _data.remove(id);
  return Future.value();
}