close method

Future<void> close()

Closes the underlying Hive box.

Call this when you're done with the store to release resources. After closing, the store cannot be used anymore.

Example:

await store.close();

Implementation

Future<void> close() async {
  await _storageBox.close();
}