close method
Closes the store.
Manually close the store, waiting for any active connections.
Throws an AskarStoreException if the store fails to close.
Implementation
Future<void> close() async {
try {
(await askarStoreClose(this)).throwOnError();
} catch (e) {
throw AskarStoreException('Failed to close store: $e');
}
}