hydrate method
Implementation
Future<void> hydrate() async {
if (isHydrated) {
logger.log('Hydrate canceled. Already hydrated');
return;
}
final hydratedStore =
await logger.measure('Hydrate', () => config.hydrate());
if (hydratedStore != null) {
_store = hydratedStore;
}
_logSize();
isHydrated = true;
}