remove method
Removes (deletes) the object with the given id
.
If the object is part of a relation, it will be removed from that relation as well.
Returns true if the object did exist and was removed, otherwise false.
For an async variant see removeAsync.
Implementation
bool remove(int id) {
final err = C.box_remove(_ptr, id);
if (err == OBX_NOT_FOUND) return false;
checkObx(err); // throws on other errors
return true;
}