discontinuedPackage dio_cache_interceptor_objectbox_store has been discontinued and replaced by http_cache_objectbox_store.

isEmpty method

bool isEmpty()

Returns true if no objects are in this box.

Implementation

bool isEmpty() {
  final isEmpty = malloc<Bool>();
  try {
    checkObx(C.box_is_empty(_ptr, isEmpty));
    return isEmpty.value;
  } finally {
    malloc.free(isEmpty);
  }
}