Persistor<T> constructor

Persistor<T>({
  1. required StorageEngine storage,
  2. required StateSerializer<T> serializer,
  3. Transforms<T>? transforms,
  4. RawTransforms? rawTransforms,
  5. bool debug = false,
  6. Duration? throttleDuration = Duration.zero,
  7. bool shouldSave(
    1. Store<T> store,
    2. dynamic action
    )?,
})

Implementation

Persistor({
  required this.storage,
  required this.serializer,
  this.transforms,
  this.rawTransforms,
  this.debug = false,
  this.throttleDuration = Duration.zero,
  this.shouldSave,
});