SqlitePersistor constructor

SqlitePersistor({
  1. void onClear(
    1. Set<Collection> collections
    )?,
  2. void onClearAll()?,
  3. void onHydrate(
    1. Json data
    )?,
  4. void onPersist(
    1. Set<Document> batch
    )?,
  5. void onSync()?,
  6. Duration persistenceThrottle = const Duration(milliseconds: 100),
  7. PersistorSettings settings = const PersistorSettings(),
})

Implementation

SqlitePersistor({
  super.onClear,
  super.onClearAll,
  super.onHydrate,
  super.onPersist,
  super.onSync,
  super.persistenceThrottle,
  super.settings,
});