box property Null safety

BoxBase? box

Get the box in which this object is stored. Returns null if object has not been added to a box yet.

Implementation

BoxBase? get box => _box;