openBackend method
Opens the backend. Idempotent.
Implementation
@override
Future<void> openBackend() async {
if (_db != null) return;
final db = SqliteDatabase.open(atSign, dbPath);
final keyStore = SqliteAtKeyValueStore(db, atSign);
await keyStore.initialize();
final queue = AtSyncQueue(atSign: atSign);
await queue.open(store: SqliteSyncQueueStore(db));
_db = db;
_keyStore = keyStore;
_queue = queue;
}