count method
- {int limit: 0}
Returns the count of all stored Objects in this box or, if limit
is not zero, the given limit
, whichever
is lower.
Implementation
int count({int limit = 0}) {
final count = allocate<Uint64>();
try {
checkObx(bindings.obx_box_count(_cBox, limit, count));
return count.value;
} finally {
free(count);
}
}