getAll method

List<T> getAll ()

Returns all stored objects in this Box.

Implementation

List<T> getAll() {
  const allowMissing =
      false; // throw if null is encountered in the data found
  return _getMany(
      allowMissing,
      () => checkObxPtr(bindings.obx_box_get_all(_cBox),
          'failed to get all objects from box'),
      (DataVisitor visitor) => checkObx(
          bindings.obx_box_visit_all(_cBox, visitor.fn, visitor.userData)));
}