InspectableBox<T> class

A class that represents an inspectable ObjectBox box.

The InspectableBox contains metadata about a box and provides access to its entities through the entityGetter callback.

The boxName is the name of the box class (e.g. "Person", "Order"). The maxEntities represents the total count of entities in the box. The entityGetter is a callback that returns the list of InspectableEntity objects representing the entities in the box.

This class is typically instantiated by generated code from the objectbox_inspector_generator package and used by the ObjectBox Inspector UI to display box contents.

Constructors

InspectableBox({required EntityGetter entityGetter, int maxEntities = 0, required String boxName})
Creates a new InspectableBox instance.

Properties

boxName String
The name of the box class (e.g. "Person", "Order").
final
entityGetter EntityGetter
A callback that returns the list of InspectableEntity objects representing the entities in the box.
final
hashCode int
The hash code for this object.
no setterinherited
maxEntities int
The total count of entities in the box.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited