DataStoreConfig constructor
DataStoreConfig(
- String name, {
- required Future<
ValueStore< hydrate(),ValueStore> ?> - required Future<
void> persist(), - required Future<
void> delete(), - required bool encrypted,
- required DataStoreEncrypter encrypter,
- required Logger logger,
Implementation
DataStoreConfig(
this.name, {
required this.hydrate,
required this.persist,
required this.delete,
required bool encrypted,
required DataStoreEncrypter encrypter,
required Logger logger,
}) : logger = logger.child('DataStore:$name');