Drop all patches for an entity.
void clearPatch(String type, String id) { _write(() { _patches[type]?.remove(id); _notifyEntity(type, id); }); }