StorageOptions constructor
const
StorageOptions({
- String? destroyKey,
- StorageCacheTime cacheTime = const StorageCacheTime(Duration(days: 2)),
Options to enable a Storage to persist state.
Those are passed to NotifierPersistX.persist.
Implementation
const StorageOptions({
this.destroyKey,
this.cacheTime = const StorageCacheTime(Duration(days: 2)),
});