StatePersistenceConfig class

Configuration for state persistence

Constructors

StatePersistenceConfig({required List<String> keys, Duration debounce = const Duration(milliseconds: 500), String storageKey = 'air_state', bool autoRestore = true})
const

Properties

autoRestore bool
Whether to automatically restore on initialization
final
debounce Duration
Debounce duration before saving (prevents too frequent saves)
final
hashCode int
The hash code for this object.
no setterinherited
keys List<String>
State keys to persist
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storageKey String
Storage key prefix
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited