SyncService<T extends CloudSyncable> constructor
SyncService<T extends CloudSyncable> ({
- required LocalRepository<
T> localRepository, - required RemoteRepository<
T> remoteRepository, - CloudStorageService? cloudStorageService,
Creates a SyncService instance.
localRepository
and remoteRepository
are required.
Implementation
SyncService({
required this.localRepository,
required this.remoteRepository,
this.cloudStorageService,
});