SyncEngine class
Core sync engine that handles push/pull synchronization
Constructors
- SyncEngine({required LocalStorage localStorage, required SyncBackendAdapter backendAdapter, required ConnectivityService connectivityService, required SyncConfig config, ConflictResolver? conflictResolver})
Properties
-
events
→ Stream<
SyncEvent> -
Stream of sync events for logging/analytics
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- queueManager → QueueManager
-
Expose queue manager for external access
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
) → Future< void> - Start sync engine
-
stop(
) → Future< void> - Stop sync engine
-
syncNow(
) → Future< void> - Manual sync trigger
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited