delete method
Deletes the entity from database.
option
- an option for deleting this entity. It is the option, if any. passed fromaccess.delete()
. It is application specific, and not used in most implementations.
Implementation
@override
Future? delete(Entity entity, AccessOption? option) {
final String oid = entity.oid;
_cache.remove(entity.otype, oid);
_storage.remove(oid);
}