remove method

bool remove(
  1. int id
)

Removes (deletes) the Object with the given id. Returns true if the object did exist and was removed, otherwise false.

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;
}