removeAll method
Removes (deletes) ALL Objects in a single transaction.
Implementation
int removeAll() {
final removedItems = malloc<Uint64>();
try {
checkObx(C.box_remove_all(_cBox, removedItems));
return removedItems.value;
} finally {
malloc.free(removedItems);
}
}