PersistConfig<T> class
Constructors
-
PersistConfig({required String key, required DeserializeCallback<
T> onDeserialize, required SerializeCallback<T> onSerialize, @Deprecated('统一语义使用[debounceDuration]代替') Duration? debounceTime, Duration? debounceDuration})
Properties
- debounceDuration → Duration?
-
防抖时间间隔
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String
-
序列化唯一标识
final
-
onDeserialize
→ DeserializeCallback<
T> -
反序列化回调
final
-
onSerialize
→ SerializeCallback<
T> -
序列化回调
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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