SyncEngine<T> class

Constructors

SyncEngine({required RemoteDataSource<T> remoteSource, required OfflineQueue<T> offlineQueue, required ConnectivityService connectivity, required LocalDataSource<T> localDataSource, ConflictResolver<T>? conflictResolver})

Properties

conflictResolver → ConflictResolver<T>?
final
connectivity → ConnectivityService
final
hashCode → int
The hash code for this object.
no setterinherited
localDataSource → LocalDataSource<T>
final
offlineQueue → OfflineQueue<T>
final
remoteSource → RemoteDataSource<T>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
syncEvents → Stream<SyncEvent<T>>
no setter

Methods

dispose() → void
initialize() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processQueue() → Future<void>
toString() → String
A string representation of this object.
inherited

Operators

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