hive property

HiveInterface hive
getter/setter pairinherited

The Hive instance that owns this store's box.

Per storage path rather than the package-global Hive — see HiveInstances for why. Exposed rather than private because a keystore has to register its type adapters on the SAME instance: TypeRegistry is per-instance too, so an adapter registered on the global Hive is invisible to a box opened here, and the box would fail to decode its own contents.

Not late final: init is idempotent for callers that re-initialise a store, and a second assignment to a late final throws.

Implementation

late HiveInterface hive;