dispose method
Clean up resources.
Implementation
Future<void> dispose() async {
await _lock.synchronized(() async {
await _sqliteStorage.dispose();
_memoryQueue.clear();
_dbAvailable = false;
_pendingSqliteDeleteIds.clear();
_dbInitAttempts = 0;
_nextDbOpenRetryAtMs = 0;
});
}