getData static method
Gets the Hive box for storing PersistentShoppingCartItem data.
Returns a Box
instance for interacting with the cart data stored in Hive.
Implementation
static Box<PersistentShoppingCartItem> getData() =>
Hive.box<PersistentShoppingCartItem>('cartBox');