SyncManager<T> class

Constructors

SyncManager({required LocalAdapter<T> localAdapter, required RemoteSyncService<T> remoteSyncService, required ConflictResolver<T> conflictResolver, ConnectivityWatcher? connectivityWatcher, int maxRetries = 3, Duration retryDelay = const Duration(seconds: 5)})

Properties

conflictResolver ConflictResolver<T>
final
connectivityWatcher ConnectivityWatcher?
final
hashCode int
The hash code for this object.
no setterinherited
localAdapter LocalAdapter<T>
final
maxRetries int
final
remoteSyncService RemoteSyncService<T>
final
retryDelay Duration
final
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
syncNow() Future<SyncResult>
toString() String
A string representation of this object.
inherited

Operators

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