LocordaGraph class

Graph-based facade for CRDT sync with direct RDF access.

Provides low-level RDF graph operations without automatic object mapping. See Locorda for the high-level, object-oriented alternative.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
syncEngine → SyncEngine
Direct access to the underlying SyncEngine for advanced operations.
no setter
syncManager → SyncManager
Access the sync manager for manual sync triggering and status monitoring.
no setter
uiAdapterRegistry → UiAdapterRegistry
Access the remote plugin registry for multi-backend UI integration.
no setter

Methods

close() Future<void>
Close the sync system and free resources.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

create({required WorkerSetup workerSetup, void onWorkerSpawn()?, required SyncEngineConfig config, required StorageMainHandler storage, String jsScript = 'worker.dart.js', List<RemoteIntegration> remotes = const [], List<MainHandlerFactory> plugins = const [], IriTermFactory? iriTermFactory, RdfCore? rdfCore, String? debugName}) Future<LocordaGraph>
Creates LocordaGraph with SyncEngine running in a separate worker thread.