contains method
Returns true if this box contains an Object with the ID id
.
Implementation
bool contains(int id) {
final contains = malloc<Uint8>();
try {
checkObx(C.box_contains(_cBox, id, contains));
return contains.value == 1;
} finally {
malloc.free(contains);
}
}