Persistor<T> constructor
Persistor<T> ({
- required StorageEngine storage,
- required StateSerializer<
T> serializer, - Transforms<
T> ? transforms, - RawTransforms? rawTransforms,
- bool debug = false,
- Duration? throttleDuration = Duration.zero,
- bool shouldSave(
- Store<
T> store, - dynamic action
- Store<
Implementation
Persistor({
required this.storage,
required this.serializer,
this.transforms,
this.rawTransforms,
this.debug = false,
this.throttleDuration = Duration.zero,
this.shouldSave,
});