DataStoreManager constructor
DataStoreManager({
- required Duration persistenceThrottle,
- required void onSync()?,
- required PersistorSettings settings,
- required DataStoreFactory factory,
- required DataStoreResolverConfig resolverConfig,
- required DataStoreEncrypter encrypter,
- required Future<
void> clearAll(), - required Future<
List< getAll(),String> > - required Logger logger,
Implementation
DataStoreManager({
required this.persistenceThrottle,
required this.onSync,
required this.settings,
required this.factory,
required this.resolverConfig,
required this.encrypter,
required Future<void> Function() clearAll,
required Future<List<String>> Function() getAll,
required Logger logger,
}) : _clearAll = clearAll,
_getAll = getAll,
logger = logger.child('DataStoreManager'),
resolver = DataStoreResolver(resolverConfig)..logger = logger;