boxAction method

Future<void> boxAction(
  1. CacheBaseBoxHandle<E> handle
)

Implementation

Future<void> boxAction(CacheBaseBoxHandle<E> handle) async  {
  final box = await openBox();
  await handle.call(box);
}